[PATCH 4/5] include/ddraw.h: Add missing DDSCAPS2.dwCaps2 flags.
Biswapriyo Nath
nathbappai at gmail.com
Mon Sep 21 23:26:54 CDT 2020
-------------- next part --------------
From a2bdb80b4f1ac3a81130487dc15fb92366d0aa89 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Tue, 22 Sep 2020 09:46:41 +0530
Subject: [PATCH 4/5] include/ddraw.h: Add missing DDSCAPS2.dwCaps2 flags.
Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
include/ddraw.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/include/ddraw.h b/include/ddraw.h
index 5af76d2..9ed556f 100644
--- a/include/ddraw.h
+++ b/include/ddraw.h
@@ -370,6 +370,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 */
--
2.27.0
More information about the wine-devel
mailing list