headers: missing define MAKEROP4

Kevin Koltzau kevin at plop.org
Tue Feb 3 08:27:18 CST 2004


This is needed when using MaskBlt

Changelog
	Add define MAKEROP4

Index: include/wingdi.h
===================================================================
RCS file: /home/wine/wine/include/wingdi.h,v
retrieving revision 1.100
diff -u -r1.100 wingdi.h
--- include/wingdi.h	13 Jan 2004 05:20:17 -0000	1.100
+++ include/wingdi.h	3 Feb 2004 14:18:20 -0000
@@ -386,6 +386,8 @@
 #define R2_MERGEPEN     15
 #define R2_WHITE        16
 
+#define MAKEROP4(fore,back) (DWORD)((((back)<<8)&0xFF000000)|(fore))
+
 #define SRCCOPY         0xcc0020
 #define SRCPAINT        0xee0086
 #define SRCAND          0x8800c6




More information about the wine-patches mailing list