]> git.cworth.org Git - apitrace/blobdiff - cgltrace.py
cli: Add a new "apitrace diff" command.
[apitrace] / cgltrace.py
index 0fac46da0cc887045048fc6a469f1f2f4af0fa50..b6a6fd0847215e9775f195b1a40c7cb2f740c774 100644 (file)
@@ -106,8 +106,8 @@ void * __libgl_sym(const char *symbol)
         }
 
         if (!libgl_handle) {
-            os::DebugMessage("apitrace: error: couldn't load %s\n", libgl_filename);
-            os::Abort();
+            os::log("apitrace: error: couldn't load %s\n", libgl_filename);
+            os::abort();
             return NULL;
         }
     }
@@ -115,8 +115,8 @@ void * __libgl_sym(const char *symbol)
     result = dlsym(libgl_handle, symbol);
 
     if (result == dlsym(RTLD_SELF, symbol)) {
-        os::DebugMessage("apitrace: error: symbol lookup recursion\n");
-        os::Abort();
+        os::log("apitrace: error: symbol lookup recursion\n");
+        os::abort();
         return NULL;
     }