mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 21:10:42 +00:00
Resolve GL ES hooking on Linux
After a change in the GL ES library hooking, capturing on Linux was unable to start the target application. This is because the hooks were not loaded correctly (all gl/egl pointers were Null pointers) as an early exit obstructed the initialization of the pointers.
This commit is contained in:
committed by
Baldur Karlsson
parent
5953d16e48
commit
571c26b1a1
@@ -435,7 +435,9 @@ bool EGLHook::CreateHooks(const char *libName)
|
||||
PosixHookLibrary("libGLESv2.so.2", NULL);
|
||||
PosixHookLibrary("libGLESv3.so", NULL);
|
||||
|
||||
#if ENABLED(RDOC_ANDROID)
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool success = PopulateHooks();
|
||||
|
||||
Reference in New Issue
Block a user