]> git.cworth.org Git - apitrace/blobdiff - retrace/d3d9retrace.py
d3dretrace: Drop retraceModule helper
[apitrace] / retrace / d3d9retrace.py
index 0564c0040989f0074f31ab8a6377f94cf7dd240c..4724c17ef37c94afa7accff06861c1af70104c69 100644 (file)
@@ -28,7 +28,7 @@
 
 
 from dllretrace import DllRetracer as Retracer
-import specs.stdapi as stdapi
+from specs.stdapi import API
 from specs.d3d9 import *
 
 
@@ -148,5 +148,7 @@ if __name__ == '__main__':
 
 '''
 
+    api = API()
+    api.addModule(d3d9)
     retracer = D3DRetracer()
-    retracer.retraceModule(d3d9)
+    retracer.retraceApi(api)