]> git.cworth.org Git - apitrace/commitdiff
Fix WGL trace build.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 22 Mar 2011 22:22:27 +0000 (22:22 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Tue, 22 Mar 2011 22:22:27 +0000 (22:22 +0000)
wgltrace.py

index e95a31b8722dea98650c9873e7091707529458b4..5ab4c0fa43228f17212cb0b11ac9156475cd3bc6 100644 (file)
@@ -35,8 +35,6 @@ from gltrace import GlTracer
 from codegen import *
 
 
-
-
 class WglTracer(GlTracer):
 
     def get_function_address(self, function):
@@ -103,8 +101,8 @@ __getPublicProcAddress(LPCSTR lpProcName)
     print 'extern "C" {'
     print
     api = API()
-    api.add_api(wglapi)
     api.add_api(glapi)
+    api.add_api(wglapi)
     tracer = WglTracer()
     tracer.trace_api(api)
     print