]> git.cworth.org Git - apitrace/blobdiff - d3d8.py
Fix a few more arrays args in D3D9.
[apitrace] / d3d8.py
diff --git a/d3d8.py b/d3d8.py
index aaa028525941ce680fa643170e64f92a02ed8b1e..fdf788f9ab19f8f9146fc14aa5c267a9eeb1edd7 100644 (file)
--- a/d3d8.py
+++ b/d3d8.py
@@ -25,7 +25,7 @@
 
 """d3d8.h"""
 
-from windows import *
+from winapi import *
 from d3d8types import *
 from d3d8caps import *
 
@@ -275,7 +275,7 @@ IDirect3DVolume8.methods += [
 
 d3d8 = Dll("d3d8")
 d3d8.functions += [
-    DllFunction(PDIRECT3D8, "Direct3DCreate8", [(UINT, "SDKVersion")]),
+    StdFunction(PDIRECT3D8, "Direct3DCreate8", [(UINT, "SDKVersion")]),
 ]
 
 if __name__ == '__main__':
@@ -283,7 +283,7 @@ if __name__ == '__main__':
     print '#include <tchar.h>'
     print '#include <d3d8.h>'
     print
-    print '#include "log.hpp"'
+    print '#include "trace_write.hpp"'
     print
     wrap()