Do not load RenderDoc on Wayland (#3570)

* Do not load RenderDoc on Wayland

* Update debug_renderdoc.cpp

---------

Co-authored-by: Branimir Karadžić <branimirkaradzic@gmail.com>
This commit is contained in:
Daniele Bartolini
2026-01-31 01:56:29 +01:00
committed by GitHub
parent 784f5a433a
commit 601111d505

View File

@@ -24,6 +24,13 @@ namespace bgfx
// Skip loading RenderDoc when IntelGPA is present to avoid RenderDoc crash.
if (findModule(BX_ARCH_32BIT ? "shimloader32.dll" : "shimloader64.dll") )
{
BX_TRACE("IntelGPA is present, not loading RenderDoc.");
return NULL;
}
if (bgfx::NativeWindowHandleType::Wayland == g_platformData.type)
{
BX_TRACE("RenderDoc is not available on Wayland. https://github.com/baldurk/renderdoc/issues/853");
return NULL;
}