Updated RenderDoc dynamic library name for Linux.
This commit is contained in:
parent
fd9eb3a021
commit
0f3f81aa05
@ -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) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user