]> git.cworth.org Git - apitrace/blobdiff - glxtrace.py
Fix minor errors in the apitracemodel
[apitrace] / glxtrace.py
index 050a0823ea3e363f98940aef69d894e50da6e411..a5317a4b74888f56c89142b29501a3c5832e3347 100644 (file)
@@ -114,7 +114,8 @@ void *dlopen(const char *filename, int flag)
         }
 
         // FIXME: handle absolute paths and other versions
-        if (strcmp(filename, "libGL.so.1") == 0) {
+        if (strcmp(filename, "libGL.so") == 0 ||
+            strcmp(filename, "libGL.so.1") == 0) {
             // Use the true libGL.so handle instead of RTLD_NEXT from now on
             libgl_handle = handle;