]> git.cworth.org Git - apitrace/blobdiff - dispatch/d3d9imports.hpp
d3dtrace: Recognize YV12 format.
[apitrace] / dispatch / d3d9imports.hpp
index 1a22a59b2c604e76947a3d422068f91e46800840..b4e81873dd0939a6cabd92465481790db2227a3a 100644 (file)
@@ -35,7 +35,6 @@
 #include "compat.h"
 
 #include <d3d9.h>
-#include <d3dx9.h>
 
 
 #ifndef D3DFMT_A2B10G10R10_XR_BIAS
 #define D3DFMT_NV12 ((D3DFORMAT)MAKEFOURCC('N','V','1','2'))
 #endif
 
+#ifndef D3DFMT_YV12
+#define D3DFMT_YV12 ((D3DFORMAT)MAKEFOURCC('Y','V','1','2'))
+#endif
+
 #ifndef D3DFMT_RAWZ
 #define D3DFMT_RAWZ ((D3DFORMAT)MAKEFOURCC('R','A','W','Z'))
 #endif