Explorar el Código

nvidia_flags: Enable GL Threaded optimizations

Ameer J hace 2 años
padre
commit
9e4d606c4c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/common/nvidia_flags.cpp

+ 1 - 0
src/common/nvidia_flags.cpp

@@ -25,6 +25,7 @@ void ConfigureNvidiaEnvironmentFlags() {
 
     void(_putenv(fmt::format("__GL_SHADER_DISK_CACHE_PATH={}", windows_path_string).c_str()));
     void(_putenv("__GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1"));
+    void(_putenv("__GL_THREADED_OPTIMIZATIONS=1"));
 #endif
 }