]> git.cworth.org Git - apitrace/blobdiff - dispatch/d3d9imports.hpp
Fix compressed texture size computation.
[apitrace] / dispatch / d3d9imports.hpp
index 3e5ce39fbf1fbc453f40477b7589d745842d7fb2..1ecf293fed6b4a358aff6bcb497269a05ed58216 100644 (file)
@@ -31,7 +31,6 @@
 #define _D3D9IMPORTS_HPP_
 
 #include <windows.h>
-#include <tchar.h>
 
 #include "compat.h"
 
 #define D3DFMT_A2B10G10R10_XR_BIAS 119
 #endif
 
-#ifndef D3DFMT_ATI1
-#define D3DFMT_ATI1 ((D3DFORMAT)MAKEFOURCC('A','T','I','1'))
+#ifndef D3DFMT_ATI1N
+#define D3DFMT_ATI1N ((D3DFORMAT)MAKEFOURCC('A','T','I','1'))
 #endif
 
-#ifndef D3DFMT_ATI2
-#define D3DFMT_ATI2 ((D3DFORMAT)MAKEFOURCC('A','T','I','2'))
+#ifndef D3DFMT_ATI2N
+#define D3DFMT_ATI2N ((D3DFORMAT)MAKEFOURCC('A','T','I','2'))
 #endif
 
 #ifndef D3DFMT_AYUV