mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Make sure to return our own glXGetProcAddress(ARB) from GetProcAddress
* Fixes libepoxy programs not being hooked properly
This commit is contained in:
@@ -720,6 +720,10 @@ __attribute__((visibility("default"))) __GLXextFuncPtr glXGetProcAddress(const G
|
||||
return (__GLXextFuncPtr)&glXSwapBuffers;
|
||||
if(!strcmp(func, "glXQueryExtension"))
|
||||
return (__GLXextFuncPtr)&glXQueryExtension;
|
||||
if(!strcmp(func, "glXGetProcAddress"))
|
||||
return (__GLXextFuncPtr)&glXGetProcAddress;
|
||||
if(!strcmp(func, "glXGetProcAddressARB"))
|
||||
return (__GLXextFuncPtr)&glXGetProcAddressARB;
|
||||
if(!strncmp(func, "glX", 3))
|
||||
return realFunc;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user