summaryrefslogtreecommitdiff
path: root/dispatch
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2016-08-04 18:12:04 +0200
committerJose Fonseca <jfonseca@vmware.com>2016-09-21 11:48:49 +0100
commitb35dbe08d201198e614764c502ceb72ce970399b (patch)
tree03f08e0a81e3a5093c202265a1510afe11ff671e /dispatch
parent5d999b460ab8b383512d6f7620de82232369b302 (diff)
d3dretrace: Add function to convert D3DFORMAT to string
Required to display the format name in qapitrace. Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'dispatch')
-rw-r--r--dispatch/d3d9imports.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/dispatch/d3d9imports.hpp b/dispatch/d3d9imports.hpp
index 07eeb91c..7aee055f 100644
--- a/dispatch/d3d9imports.hpp
+++ b/dispatch/d3d9imports.hpp
@@ -80,6 +80,21 @@
#define D3DFMT_RAWZ ((D3DFORMAT)MAKEFOURCC('R','A','W','Z'))
#endif
+#ifndef D3DFMT_RESZ
+#define D3DFMT_RESZ ((D3DFORMAT)MAKEFOURCC('R','E','S','Z'))
+#endif
+
+#ifndef RESZ_CODE
+#define RESZ_CODE 0x7fa05000
+#endif
+
+#ifndef D3DFMT_ATI1
+#define D3DFMT_ATI1 ((D3DFORMAT)MAKEFOURCC('A','T','I','1'))
+#endif
+
+#ifndef D3DFMT_ATI2
+#define D3DFMT_ATI2 ((D3DFORMAT)MAKEFOURCC('A','T','I','2'))
+#endif
#ifndef D3DUSAGE_TEXTAPI
#define D3DUSAGE_TEXTAPI 0x10000000L