Hello,
Patch for for broken defines in d3d9 headers is attached to this mail.
Please review.
Rafał Harabień
>From 6243adfc2f055faeb2588f097096d8af17112cc3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C5=82=20Harabie=C5=84?= <[email protected]>
Date: Mon, 7 Dec 2020 23:20:48 +0100
Subject: [PATCH] Fix some defines in d3d9 headers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* rename D3DENUM_NO_WHQL_LEVEL to D3DENUM_WHQL_LEVEL
* remove D3DCAPS2_CANRENDERWINDOWED
Removed defines seems to have been copied from d3d8.h and according to
public docs does not exist in d3d9.
Signed-off-by: Rafał Harabień <[email protected]>
---
mingw-w64-headers/include/d3d9.h | 2 +-
mingw-w64-headers/include/d3d9caps.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/mingw-w64-headers/include/d3d9.h b/mingw-w64-headers/include/d3d9.h
index bb686abc..06700675 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 1068a2c3..8a4025f3 100644
--- a/mingw-w64-headers/include/d3d9caps.h
+++ b/mingw-w64-headers/include/d3d9caps.h
@@ -260,7 +260,6 @@
#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)
--
2.25.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public