gl_shader_manager: Remove unused variable within LoadDiskCache()

This commit is contained in:
Lioncash 2020-04-30 22:48:57 -04:00
parent 138539c9a0
commit ca4f7266c0

View File

@ -460,7 +460,6 @@ void ShaderProgramManager::LoadDiskCache(const std::atomic_bool& stop_loading,
bool precompiled_cache_altered = false; bool precompiled_cache_altered = false;
std::mutex mutex; std::mutex mutex;
std::size_t built_shaders = 0; // It doesn't have be atomic since it's used behind a mutex
std::atomic_bool compilation_failed = false; std::atomic_bool compilation_failed = false;
if (callback) { if (callback) {
callback(VideoCore::LoadCallbackStage::Decompile, 0, raws.size()); callback(VideoCore::LoadCallbackStage::Decompile, 0, raws.size());