summaryrefslogtreecommitdiff
path: root/retrace
diff options
context:
space:
mode:
Diffstat (limited to 'retrace')
-rw-r--r--retrace/CMakeLists.txt2
-rw-r--r--retrace/d3d9retrace.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/retrace/CMakeLists.txt b/retrace/CMakeLists.txt
index a113b963..31d5d698 100644
--- a/retrace/CMakeLists.txt
+++ b/retrace/CMakeLists.txt
@@ -287,7 +287,7 @@ if (WIN32)
${CMAKE_SOURCE_DIR}/specs/d3d9.py
${CMAKE_SOURCE_DIR}/specs/d3d9types.py
${CMAKE_SOURCE_DIR}/specs/d3d9caps.py
- ${CMAKE_SOURCE_DIR}/specs/d3d9dxva2.py
+ ${CMAKE_SOURCE_DIR}/specs/dxva2.py
${CMAKE_SOURCE_DIR}/specs/winapi.py
${CMAKE_SOURCE_DIR}/specs/stdapi.py
)
diff --git a/retrace/d3d9retrace.py b/retrace/d3d9retrace.py
index 3f2754af..7313acc9 100644
--- a/retrace/d3d9retrace.py
+++ b/retrace/d3d9retrace.py
@@ -248,12 +248,13 @@ def main():
if support:
if moduleName == 'd3d9':
from specs.d3d9 import d3d9, d3dperf
- import specs.d3d9dxva2
+ from specs.dxva2 import dxva2
print r'#include "d3d9imports.hpp"'
print r'#include "d3d9size.hpp"'
- print r'#include "dxvaint.h"'
+ print r'#include "dxva2imports.hpp"'
d3d9.mergeModule(d3dperf)
api.addModule(d3d9)
+ api.addModule(dxva2)
print
print '''static d3dretrace::D3DDumper<IDirect3DDevice9> d3d9Dumper;'''
print '''static d3dretrace::D3DDumper<IDirect3DSwapChain9> d3d9scDumper;'''