[PATCH 1/5] include/ddraw.h: Add missing members in DDPIXELFORMAT struct.

Biswapriyo Nath nathbappai at gmail.com
Mon Sep 21 23:26:38 CDT 2020


-------------- next part --------------
From 587b83bebd73cd62e5e57d168ab2e86ccacd7b6f 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 1/5] include/ddraw.h: Add missing members in DDPIXELFORMAT struct.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
 include/ddraw.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/ddraw.h b/include/ddraw.h
index cb77df1..528c70a 100644
--- a/include/ddraw.h
+++ b/include/ddraw.h
@@ -743,6 +743,7 @@ typedef struct _DDPIXELFORMAT {
 	DWORD	dwAlphaBitDepth;        /* C: how many bits for alpha channels*/
 	DWORD	dwLuminanceBitCount;
 	DWORD	dwBumpBitCount;
+	DWORD	dwPrivateFormatBitCount;
     } DUMMYUNIONNAME1;
     union {
 	DWORD	dwRBitMask;             /* 10: mask for red bit*/
@@ -750,12 +751,17 @@ typedef struct _DDPIXELFORMAT {
 	DWORD	dwStencilBitDepth;
 	DWORD	dwLuminanceBitMask;
 	DWORD	dwBumpDuBitMask;
+	DWORD	dwOperations;
     } DUMMYUNIONNAME2;
     union {
 	DWORD	dwGBitMask;             /* 14: mask for green bits*/
 	DWORD	dwUBitMask;             /* 14: mask for U bits*/
 	DWORD	dwZBitMask;
 	DWORD	dwBumpDvBitMask;
+	struct {
+		WORD	wFlipMSTypes;
+		WORD	wBltMSTypes;
+	} MultiSampleCaps;
     } DUMMYUNIONNAME3;
     union {
 	DWORD   dwBBitMask;             /* 18: mask for blue bits*/
-- 
2.27.0



More information about the wine-devel mailing list