]> git.cworth.org Git - apitrace/blobdiff - wgltrace.py
Cleanup the default size computation for the surface viewer.
[apitrace] / wgltrace.py
index ea4474d95fe2e3cc16575c1bbfb122b8f90f85f8..17d1acc7b6a054570767b0ff3c4a33c7aa955da0 100644 (file)
@@ -53,7 +53,7 @@ class WglTracer(GlTracer):
                 print '    %s = (%s)&%s;' % (instance, function.type, f.name);
         
             def handle_default():
-                print '    OS::DebugMessage("apitrace: unknown function \\"%s\\"\\n", lpszProc);'
+                print '    OS::DebugMessage("apitrace: warning: unknown function \\"%s\\"\\n", lpszProc);'
 
             string_switch('lpszProc', func_dict.keys(), handle_case, handle_default)
             print '    }'
@@ -72,7 +72,7 @@ if __name__ == '__main__':
     print '''
 static HINSTANCE g_hDll = NULL;
 
-static PROC
+PROC
 __getPublicProcAddress(LPCSTR lpProcName)
 {
     if (!g_hDll) {