]> git.cworth.org Git - apitrace/blobdiff - glproc.py
Fix a crash when loading multiple frames at once.
[apitrace] / glproc.py
index 16b5d180b9baccc4bf189187c7cf3cd6895cedf7..05a3201c2ce31d5b30862527f361ad4375cecba7 100644 (file)
--- a/glproc.py
+++ b/glproc.py
@@ -29,12 +29,12 @@ covers all the functions we support.
 """ 
 
 
-import stdapi
+import specs.stdapi as stdapi
 from dispatch import Dispatcher
-from glapi import glapi
-from glxapi import glxapi
-from wglapi import wglapi
-from cglapi import cglapi
+from specs.glapi import glapi
+from specs.glxapi import glxapi
+from specs.wglapi import wglapi
+from specs.cglapi import cglapi
 
 
 # See http://www.opengl.org/registry/ABI/
@@ -421,6 +421,7 @@ class GlDispatcher(Dispatcher):
         print '#  endif'
         print '#else /* !RETRACE */'
         print '#  ifdef _WIN32'
+        print '     PROC __getPublicProcAddress(LPCSTR lpProcName);'
         print '#    define __getPrivateProcAddress(name) __wglGetProcAddress(name)'
         print '     static inline PROC __stdcall __wglGetProcAddress(const char * lpszProc);'
         print '#  else'