- Fix CORE-7791.

svn path=/trunk/; revision=62556
This commit is contained in:
James Tabor 2014-03-24 03:28:07 +00:00
parent 486717eb27
commit 3f6ef52ad9

View file

@ -155,8 +155,26 @@ NtGdiBitBlt(
IN DWORD crBackColor, IN DWORD crBackColor,
IN FLONG fl) 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 */ /* Forward to NtGdiMaskBlt */
// TODO: What's fl for? // TODO: What's fl for? LOL not to send this to MaskBit!
return NtGdiMaskBlt(hDCDest, return NtGdiMaskBlt(hDCDest,
XDest, XDest,
YDest, YDest,
@ -168,7 +186,7 @@ NtGdiBitBlt(
NULL, NULL,
0, 0,
0, 0,
ROP, dwTRop,
crBackColor); crBackColor);
} }
@ -712,6 +730,8 @@ NtGdiStretchBlt(
DWORD ROP, DWORD ROP,
IN DWORD dwBackColor) IN DWORD dwBackColor)
{ {
DWORD dwTRop = ROP & ~(NOMIRRORBITMAP|CAPTUREBLT);
return GreStretchBltMask( return GreStretchBltMask(
hDCDest, hDCDest,
XOriginDest, XOriginDest,
@ -723,7 +743,7 @@ NtGdiStretchBlt(
YOriginSrc, YOriginSrc,
WidthSrc, WidthSrc,
HeightSrc, HeightSrc,
ROP, dwTRop,
dwBackColor, dwBackColor,
NULL, NULL,
0, 0,