]> git.cworth.org Git - apitrace/blobdiff - glproc.py
format.py is not executable.
[apitrace] / glproc.py
index b036b359b95e33f8aee1134ee0a7249fa66da4fe..9f9345aabec671915c555f56612c1305778075b5 100644 (file)
--- a/glproc.py
+++ b/glproc.py
@@ -419,7 +419,6 @@ class GlDispatcher(Dispatcher):
         print '#  else'
         print '#    define __getPrivateProcAddress(name) glXGetProcAddressARB((const GLubyte *)(name))'
         print '#  endif'
-        print '#  define __abort() OS::Abort()'
         print '#else /* !RETRACE */'
         print '#  ifdef _WIN32'
         print '#    define __getPrivateProcAddress(name) __wglGetProcAddress(name)'
@@ -434,12 +433,11 @@ class GlDispatcher(Dispatcher):
         print '       static inline __GLXextFuncPtr __glXGetProcAddressARB(const GLubyte * procName);'
         print '#    endif'
         print '#  endif'
-        print '#  define __abort() Trace::Abort()'
         print '#endif /* !RETRACE */'
         print
         
     def is_public_function(self, function):
-        return function.name in public_symbols
+        return function.name in public_symbols or function.name.startswith('CGL')
 
 
 if __name__ == '__main__':