Author: jimtabor
Date: Mon Mar 24 03:28:07 2014
New Revision: 62556
URL:
http://svn.reactos.org/svn/reactos?rev=62556&view=rev
Log:
- Fix CORE-7791.
Modified:
trunk/reactos/win32ss/gdi/ntgdi/bitblt.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/bitblt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/bitblt.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/bitblt.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/bitblt.c [iso-8859-1] Mon Mar 24 03:28:07 2014
@@ -155,8 +155,26 @@
IN DWORD crBackColor,
IN FLONG fl)
{
+ DWORD dwTRop;
+
+ if (ROP & CAPTUREBLT)
+ return NtGdiStretchBlt(hDCDest,
+ XDest,
+ YDest,
+ Width,
+ Height,
+ hDCSrc,
+ XSrc,
+ YSrc,
+ Width,
+ Height,
+ ROP,
+ crBackColor);
+
+ dwTRop = ROP & ~(NOMIRRORBITMAP|CAPTUREBLT);
+
/* Forward to NtGdiMaskBlt */
- // TODO: What's fl for?
+ // TODO: What's fl for? LOL not to send this to MaskBit!
return NtGdiMaskBlt(hDCDest,
XDest,
YDest,
@@ -168,7 +186,7 @@
NULL,
0,
0,
- ROP,
+ dwTRop,
crBackColor);
}
@@ -712,6 +730,8 @@
DWORD ROP,
IN DWORD dwBackColor)
{
+ DWORD dwTRop = ROP & ~(NOMIRRORBITMAP|CAPTUREBLT);
+
return GreStretchBltMask(
hDCDest,
XOriginDest,
@@ -723,7 +743,7 @@
YOriginSrc,
WidthSrc,
HeightSrc,
- ROP,
+ dwTRop,
dwBackColor,
NULL,
0,