]> git.cworth.org Git - apitrace/blobdiff - dispatch/glproc_gl.cpp
Fix MacOSX build.
[apitrace] / dispatch / glproc_gl.cpp
index 27b3ef7dc86706c45c1a9cd290726a73104a5cfd..5adbebbb799417d93546f0b936bab0ee137a0299 100644 (file)
@@ -117,11 +117,13 @@ void * __libgl_sym(const char *symbol)
 
     result = dlsym(__libGlHandle, symbol);
 
-    if (resullt && result == dlsym(RTLD_SELF, symbol)) {
+#if 0
+    if (result && result == dlsym(RTLD_SELF, symbol)) {
         os::log("apitrace: error: symbol lookup recursion\n");
         os::abort();
         return NULL;
     }
+#endif
 
     return result;
 }