]> git.cworth.org Git - apitrace/blobdiff - wrappers/cgltrace.py
Factor the proc address wrapping into gltrace.py
[apitrace] / wrappers / cgltrace.py
index ea2267cf1c5ff1c1bb817f9a3069cbc2e3b58b55..e9dee975db9c212eb22883d835f2b8ede48c3aff 100644 (file)
@@ -24,7 +24,7 @@
 ##########################################################################/
 
 
-"""Cgl tracing generator."""
+"""CGL tracing generator."""
 
 
 from gltrace import GlTracer
@@ -36,7 +36,7 @@ from specs.cglapi import cglapi
 class CglTracer(GlTracer):
 
     def isFunctionPublic(self, function):
-        # The symbols visible in libGL.dylib can vary, so expose them all
+        # all OpenGL symbols are visible on MacOSX
         return True
 
 
@@ -58,7 +58,7 @@ if __name__ == '__main__':
     api.addApi(cglapi)
     api.addApi(glapi)
     tracer = CglTracer()
-    tracer.trace_api(api)
+    tracer.traceApi(api)
 
     print r'''