diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-14 10:59:55 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-14 10:59:55 +0100 |
| commit | 1133c16447c7cb1f6ad93ac6e6ebfd7f61bf7486 (patch) | |
| tree | 0fc9240533b166d117dade9386e506b78283dfb3 | |
| parent | 482473aee603cc30437a37a27a78fb1751d8dfdc (diff) | |
| parent | 67b8d71c79a0965445d49c9cfe738b9dd688dfc2 (diff) | |
| download | redot-engine-1133c16447c7cb1f6ad93ac6e6ebfd7f61bf7486.tar.gz | |
Merge pull request #88316 from Calinou/vulkan-disable-reshade-editor
Disable ReShade in the editor and project manager (if run via Vulkan)
| -rw-r--r-- | main/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 5e54a52f61..ceb2cbbae7 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -2208,11 +2208,13 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph OS::get_singleton()->set_environment("DISABLE_MANGOHUD", "1"); // GH-57403. OS::get_singleton()->set_environment("DISABLE_RTSS_LAYER", "1"); // GH-57937. OS::get_singleton()->set_environment("DISABLE_VKBASALT", "1"); + OS::get_singleton()->set_environment("DISABLE_VK_LAYER_reshade_1", "1"); // GH-70849. } else { // Re-allow using Vulkan overlays, disabled while using the editor. OS::get_singleton()->unset_environment("DISABLE_MANGOHUD"); OS::get_singleton()->unset_environment("DISABLE_RTSS_LAYER"); OS::get_singleton()->unset_environment("DISABLE_VKBASALT"); + OS::get_singleton()->unset_environment("DISABLE_VK_LAYER_reshade_1"); } #endif |
