Skip to content

Commit 97fa4bd

Browse files
committed
Merge pull request godotengine#101540 from akien-mga/vulkan-disable-layer-bandicam
Vulkan: Force disable broken `VK_LAYER_bandicam_helper` layer in editor
2 parents ad4eeac + 210e9d7 commit 97fa4bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2551,12 +2551,16 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
25512551
OS::get_singleton()->set_environment("DISABLE_RTSS_LAYER", "1"); // GH-57937.
25522552
OS::get_singleton()->set_environment("DISABLE_VKBASALT", "1");
25532553
OS::get_singleton()->set_environment("DISABLE_VK_LAYER_reshade_1", "1"); // GH-70849.
2554+
OS::get_singleton()->set_environment("VK_LAYER_bandicam_helper_DEBUG_1", "1"); // GH-101480.
2555+
OS::get_singleton()->set_environment("DISABLE_VK_LAYER_bandicam_helper_1", "1"); // GH-101480.
25542556
} else {
25552557
// Re-allow using Vulkan overlays, disabled while using the editor.
25562558
OS::get_singleton()->unset_environment("DISABLE_MANGOHUD");
25572559
OS::get_singleton()->unset_environment("DISABLE_RTSS_LAYER");
25582560
OS::get_singleton()->unset_environment("DISABLE_VKBASALT");
25592561
OS::get_singleton()->unset_environment("DISABLE_VK_LAYER_reshade_1");
2562+
OS::get_singleton()->unset_environment("VK_LAYER_bandicam_helper_DEBUG_1");
2563+
OS::get_singleton()->unset_environment("DISABLE_VK_LAYER_bandicam_helper_1");
25602564
}
25612565
#endif
25622566

0 commit comments

Comments
 (0)