mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Updated RenderDoc dynamic library name for Linux.
This commit is contained in:
@@ -72,11 +72,18 @@ namespace bgfx
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void* renderDocDll = bx::dlopen("renderdoc.dll");
|
||||
void* renderDocDll = bx::dlopen(
|
||||
#if BX_PLATFORM_WINDOWS
|
||||
"renderdoc.dll"
|
||||
#else
|
||||
"./librenderdoc.so"
|
||||
#endif // BX_PLATFORM_WINDOWS
|
||||
);
|
||||
|
||||
if (NULL != renderDocDll)
|
||||
{
|
||||
RENDERDOC_GetAPI = (pRENDERDOC_GetAPI)bx::dlsym(renderDocDll, "RENDERDOC_GetAPI");
|
||||
|
||||
if (NULL != RENDERDOC_GetAPI
|
||||
&& 1 == RENDERDOC_GetAPI(eRENDERDOC_API_Version_1_1_2, (void**)&s_renderDoc) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user