X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glproc.py;h=9f9345aabec671915c555f56612c1305778075b5;hb=aaaf6eb1b4c59146f8a91547c1fb581a3cdc4f1f;hp=b036b359b95e33f8aee1134ee0a7249fa66da4fe;hpb=3dabe543b983aaa89ff3a85f790d6e1d60d93732;p=apitrace diff --git a/glproc.py b/glproc.py index b036b35..9f9345a 100644 --- 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__':