mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Disable reshade
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user