Export GLX functions we don't intercept as pass-through functions

This commit is contained in:
baldurk
2016-11-19 15:13:05 +01:00
parent 0a4f79ce8d
commit 512906c104
6 changed files with 233 additions and 134 deletions
+2 -2
View File
@@ -704,7 +704,7 @@ void DisplayRendererPreview(ReplayRenderer *renderer, TextureDisplay &displayCfg
// symbol defined in libGL but not librenderdoc.
// Forces link of libGL after renderdoc (otherwise all symbols would
// be resolved and libGL wouldn't link, meaning dlsym(RTLD_NEXT) would fai
extern "C" void glXWaitGL();
extern "C" void glXWaitX();
#endif
@@ -724,7 +724,7 @@ int main(int argc, char *argv[])
volatile bool never_run = false;
if(never_run)
glXWaitGL();
glXWaitX();
#endif