mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Speculative fix - try to avoid crashes if hooked dlopen is called early
* This isn't particularly stable/nice, probably needs a complete rethink
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
|
||||
typedef void (*dlopenCallback)(void *realLib);
|
||||
|
||||
void LinuxHookInit();
|
||||
|
||||
// if this name is dlopen'd, the real library will be passed
|
||||
// to the callback and librenderdoc.so will be returned to user code
|
||||
void LinuxHookLibrary(const char *name, dlopenCallback cb);
|
||||
|
||||
Reference in New Issue
Block a user