Merge pull request #1 from Darkywolf999/Darkywolf999-patch-1

Update gl_device.cpp
This commit is contained in:
Darkywolf999
2021-10-14 18:28:19 +02:00
committed by GitHub

View File

@@ -183,9 +183,8 @@ Device::Device() {
shader_backend = Settings::ShaderBackend::GLSL;
}
// Blocks AMD and Intel OpenGL drivers on Windows from using asynchronous shader compilation.
use_asynchronous_shaders = Settings::values.use_asynchronous_shaders
.GetValue(); //&& why would you block amd and intel opengl drivers for async on windows ?
// !(is_amd || (is_intel && !is_linux));
use_asynchronous_shaders = Settings::values.use_asynchronous_shaders.GetValue();
!(is_amd || (is_intel && !is_linux));
use_driver_cache = is_nvidia;
LOG_INFO(Render_OpenGL, "Renderer_VariableAOFFI: {}", has_variable_aoffi);