diff options
author | Álex Román Núñez <eirexe123@gmail.com> | 2023-01-15 10:42:49 +0100 |
---|---|---|
committer | Álex Román Núñez <eirexe123@gmail.com> | 2023-06-13 11:47:40 +0200 |
commit | 938a837056fdd8b4cde27280b8f6490ae6420af2 (patch) | |
tree | 4f6f70e1e276d497211abff0caee8469ea726675 /main | |
parent | ae896bbd85d0c9f1883c81f138045c3753ccef01 (diff) | |
download | redot-engine-938a837056fdd8b4cde27280b8f6490ae6420af2.tar.gz |
Disable NVIDIA's threaded optimization on Windows
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index ef997e71a7..b759944ff0 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1647,6 +1647,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph GLOBAL_DEF(PropertyInfo(Variant::STRING, "rendering/gl_compatibility/driver.android", PROPERTY_HINT_ENUM, driver_hints), default_driver); GLOBAL_DEF(PropertyInfo(Variant::STRING, "rendering/gl_compatibility/driver.ios", PROPERTY_HINT_ENUM, driver_hints), default_driver); GLOBAL_DEF(PropertyInfo(Variant::STRING, "rendering/gl_compatibility/driver.macos", PROPERTY_HINT_ENUM, driver_hints), default_driver); + GLOBAL_DEF_RST("rendering/gl_compatibility/nvidia_disable_threaded_optimization", true); } // Start with RenderingDevice-based backends. Should be included if any RD driver present. |