mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
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:
committed by
GitHub
parent
784f5a433a
commit
601111d505
@@ -24,6 +24,13 @@ namespace bgfx
|
|||||||
// Skip loading RenderDoc when IntelGPA is present to avoid RenderDoc crash.
|
// Skip loading RenderDoc when IntelGPA is present to avoid RenderDoc crash.
|
||||||
if (findModule(BX_ARCH_32BIT ? "shimloader32.dll" : "shimloader64.dll") )
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user