summaryrefslogtreecommitdiff
path: root/src/common/nvidia_flags.cpp
diff options
context:
space:
mode:
authorFranco M <francomaro@gmail.com>2023-11-04 21:28:16 -0300
committerGitHub <noreply@github.com>2023-11-04 21:28:16 -0300
commit728aca770317b3f86961c8669ba9ae5c68570d3f (patch)
tree29adffcb1d264cc16cacb478a8f6645ef6259b3b /src/common/nvidia_flags.cpp
parent7f62a48ab507d3874378c10944662d5b841c6c2e (diff)
parent940618a64dc048790291e240dca6a085a4f1c27c (diff)
Merge branch 'master' into new-shortcut
Diffstat (limited to 'src/common/nvidia_flags.cpp')
-rw-r--r--src/common/nvidia_flags.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/nvidia_flags.cpp b/src/common/nvidia_flags.cpp
index 7ed7690ee..fa3747782 100644
--- a/src/common/nvidia_flags.cpp
+++ b/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
}