X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=wgltrace.py;h=17d1acc7b6a054570767b0ff3c4a33c7aa955da0;hb=1a9f7af32205d900c88fef0b544546eb0d7c84ee;hp=028580d2f6d7a1e4ed57cc783a11b19e6673ef2b;hpb=ec299a807d097ace8dcca9db53f378ef7fe6858f;p=apitrace diff --git a/wgltrace.py b/wgltrace.py index 028580d..17d1acc 100644 --- a/wgltrace.py +++ b/wgltrace.py @@ -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 ' }' @@ -66,13 +66,13 @@ if __name__ == '__main__': print '#include ' print '#include ' print - print '#include "trace_write.hpp"' + print '#include "trace_writer.hpp"' print '#include "os.hpp"' print print ''' static HINSTANCE g_hDll = NULL; -static PROC +PROC __getPublicProcAddress(LPCSTR lpProcName) { if (!g_hDll) {