mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 23:16:31 +00:00
Disable buggy bandicam vulkan layer. Closes #2152
This commit is contained in:
@@ -116,6 +116,9 @@ class VulkanHook : LibraryHook
|
||||
Process::RegisterEnvironmentModification(EnvironmentModification(
|
||||
EnvMod::Set, EnvSep::NoSep, "DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1", "1"));
|
||||
|
||||
Process::RegisterEnvironmentModification(EnvironmentModification(
|
||||
EnvMod::Set, EnvSep::NoSep, "VK_LAYER_bandicam_helper_DEBUG_1", "1"));
|
||||
|
||||
#if ENABLED(RDOC_WIN32)
|
||||
// on windows support self-hosted capture by checking our filename and tweaking the env var we
|
||||
// set
|
||||
|
||||
@@ -4153,6 +4153,9 @@ ReplayStatus Vulkan_CreateReplayDevice(RDCFile *rdc, const ReplayOptions &opts,
|
||||
Process::RegisterEnvironmentModification(EnvironmentModification(
|
||||
EnvMod::Set, EnvSep::NoSep, "DISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1", "1"));
|
||||
|
||||
Process::RegisterEnvironmentModification(
|
||||
EnvironmentModification(EnvMod::Set, EnvSep::NoSep, "VK_LAYER_bandicam_helper_DEBUG_1", "1"));
|
||||
|
||||
Process::ApplyEnvironmentModification();
|
||||
|
||||
void *module = LoadVulkanLibrary();
|
||||
|
||||
Reference in New Issue
Block a user