Skip to content

Commit 78e6405

Browse files
committed
hello_xr: Disable USE_MIRROR_WINDOW for Vulkan version default
Signed-off-by: utzcoz <[email protected]>
1 parent f122f9f commit 78e6405

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tests/hello_xr/graphicsplugin_vulkan.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
#endif
1818

1919
#if defined(VK_USE_PLATFORM_WIN32_KHR)
20-
// Define USE_MIRROR_WINDOW to open a otherwise-unused window for e.g. RenderDoc
21-
#define USE_MIRROR_WINDOW
20+
// Define USE_MIRROR_WINDOW to open a otherwise-unused window for e.g. RenderDoc.
21+
// We need to disable it default to avoid disruption for normal usage.
22+
#undef USE_MIRROR_WINDOW
2223
#endif
2324

2425
// glslangValidator doesn't wrap its output in brackets if you don't have it define the whole array.

0 commit comments

Comments
 (0)