Disable reshade

This commit is contained in:
baldurk
2025-03-10 13:04:37 +00:00
parent e4b4cb02fc
commit 9bc6174f62
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -152,6 +152,9 @@ class VulkanHook : LibraryHook
Process::RegisterEnvironmentModification(EnvironmentModification(
EnvMod::Set, EnvSep::NoSep, "VK_LAYER_bandicam_helper_DEBUG_1", "1"));
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_VK_LAYER_reshade_1", "1"));
// fpsmon not only has a buggy layer but it also picks an absurdly generic disable environment
// variable :(. Hopefully no other program picks this, or if it does then it's probably not a
// bad thing to disable too
+3
View File
@@ -5271,6 +5271,9 @@ RDResult Vulkan_CreateReplayDevice(RDCFile *rdc, const ReplayOptions &opts, IRep
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "VK_LAYER_bandicam_helper_DEBUG_1", "1"));
Process::RegisterEnvironmentModification(
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "DISABLE_VK_LAYER_reshade_1", "1"));
// fpsmon not only has a buggy layer but it also picks an absurdly generic disable environment
// variable :(. Hopefully no other program picks this, or if it does then it's probably not a
// bad thing to disable too