Fix some defines in d3d9 headers
* rename D3DENUM_NO_WHQL_LEVEL to D3DENUM_WHQL_LEVEL
* remove D3DCAPS2_NO2DDURING3DSCENE
* remove D3DCAPS2_CANRENDERWINDOWED
Removed defines seems to have been copied from d3d8.h and according to
public docs do not exist in d3d9.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/include/d3d9.h b/mingw-w64-headers/include/d3d9.h
index bb686ab..0670067 100644
--- a/mingw-w64-headers/include/d3d9.h
+++ b/mingw-w64-headers/include/d3d9.h
@@ -62,7 +62,7 @@
*/
#define D3D_SDK_VERSION 32
#define D3DADAPTER_DEFAULT 0
-#define D3DENUM_NO_WHQL_LEVEL __MSABI_LONG(0x00000002)
+#define D3DENUM_WHQL_LEVEL __MSABI_LONG(0x00000002)
#define D3DPRESENT_DONOTWAIT __MSABI_LONG(1)
#define D3DPRESENT_LINEAR_CONTENT __MSABI_LONG(2)
#define D3DPRESENT_BACK_BUFFERS_MAX __MSABI_LONG(3)
diff --git a/mingw-w64-headers/include/d3d9caps.h b/mingw-w64-headers/include/d3d9caps.h
index 1068a2c..c62780b 100644
--- a/mingw-w64-headers/include/d3d9caps.h
+++ b/mingw-w64-headers/include/d3d9caps.h
@@ -258,9 +258,7 @@
#define D3DCAPS3_DXVAHD_LIMITED __MSABI_LONG(0x00000800)
#define D3DCAPS3_RESERVED __MSABI_LONG(0x8000001F)
-#define D3DCAPS2_NO2DDURING3DSCENE __MSABI_LONG(0x00000002)
#define D3DCAPS2_FULLSCREENGAMMA __MSABI_LONG(0x00020000)
-#define D3DCAPS2_CANRENDERWINDOWED __MSABI_LONG(0x00080000)
#define D3DCAPS2_CANCALIBRATEGAMMA __MSABI_LONG(0x00100000)
#define D3DCAPS2_RESERVED __MSABI_LONG(0x02000000)
#define D3DCAPS2_CANMANAGERESOURCE __MSABI_LONG(0x10000000)