Biswapriyo Nath : include/ddraw.h: Add missing DDSCAPS2.dwCaps2 flags.

Alexandre Julliard julliard at winehq.org
Wed Sep 23 15:47:14 CDT 2020


Module: wine
Branch: master
Commit: f4c382f980b2971929e0b5a7681ecfb0bf1356de
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f4c382f980b2971929e0b5a7681ecfb0bf1356de

Author: Biswapriyo Nath <nathbappai at gmail.com>
Date:   Tue Sep 22 10:04:41 2020 +0530

include/ddraw.h: Add missing DDSCAPS2.dwCaps2 flags.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/ddraw.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/ddraw.h b/include/ddraw.h
index 6f7cc0ec27..881b92dde1 100644
--- a/include/ddraw.h
+++ b/include/ddraw.h
@@ -366,6 +366,15 @@ typedef struct _DDSCAPS {
 /* indicates surface is part of a stereo flipping chain */
 #define DDSCAPS2_STEREOSURFACELEFT      0x00080000
 #define DDSCAPS2_VOLUME                 0x00200000
+#define DDSCAPS2_NOTUSERLOCKABLE        0x00400000
+#define DDSCAPS2_POINTS                 0x00800000
+#define DDSCAPS2_RTPATCHES              0x01000000
+#define DDSCAPS2_NPATCHES               0x02000000
+#define DDSCAPS2_RESERVED3              0x04000000
+#define DDSCAPS2_DISCARDBACKBUFFER      0x10000000
+#define DDSCAPS2_ENABLEALPHACHANNEL     0x20000000
+#define DDSCAPS2_EXTENDEDFORMATPRIMARY  0x40000000
+#define DDSCAPS2_ADDITIONALPRIMARY      0x80000000
 
 typedef struct _DDSCAPS2 {
 	DWORD	dwCaps;	/* capabilities of surface wanted */




More information about the wine-cvs mailing list