D3D8 / D3D9: Define D3D_SDK_VERSION

H. Verbeet hverbeet at gmail.com
Wed Dec 7 15:09:42 CST 2005


D3D_SDK_VERSION needs to be defined to build pretty much any d3d8 /
d3d9 program against the wine headers, including tests.

Changelog:
  - Define D3D_SDK_VERSION for d3d8 and d3d9.
-------------- next part --------------
711d11402de878a7bb8c10ed6d9cfa90575003a7
diff --git a/include/d3d8.h b/include/d3d8.h
index 5a8b1c6..ca46eab 100644
--- a/include/d3d8.h
+++ b/include/d3d8.h
@@ -41,6 +41,7 @@
 /*****************************************************************************
  * #defines and error codes
  */
+#define D3D_SDK_VERSION              220
 #define D3DADAPTER_DEFAULT           0
 #define D3DENUM_NO_WHQL_LEVEL        2
 
diff --git a/include/d3d9.h b/include/d3d9.h
index b4e23ce..e7abb54 100644
--- a/include/d3d9.h
+++ b/include/d3d9.h
@@ -50,6 +50,7 @@
 /*****************************************************************************
  * #defines and error codes
  */
+#define D3D_SDK_VERSION                         32
 #define D3DADAPTER_DEFAULT                      0
 #define D3DENUM_NO_WHQL_LEVEL                   0x00000002L
 #define D3DPRESENT_BACK_BUFFERS_MAX             3L



More information about the wine-patches mailing list