mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 14:16:30 +00:00
BugFix : NtGdiPatBlt did not call on NtGdiMaskBlt when source have been set in ROP
svn path=/trunk/; revision=33873
This commit is contained in:
parent
72e6fde566
commit
b879687075
|
@ -1070,10 +1070,18 @@ NtGdiPatBlt(
|
|||
DWORD ROP)
|
||||
{
|
||||
PGDIBRUSHOBJ BrushObj;
|
||||
DC *dc = DC_LockDc(hDC);
|
||||
DC *dc;
|
||||
PDC_ATTR Dc_Attr;
|
||||
BOOL UsesSource = ROP3_USES_SOURCE(ROP);
|
||||
BOOL ret;
|
||||
|
||||
if (UsesSource)
|
||||
{
|
||||
/* in this case we call on GdiMaskBlt */
|
||||
return NtGdiMaskBlt(hDC, XLeft, YLeft, Width, Height, 0,0,0,0,0,0,ROP,0);
|
||||
}
|
||||
|
||||
dc = DC_LockDc(hDC);
|
||||
if (dc == NULL)
|
||||
{
|
||||
SetLastWin32Error(ERROR_INVALID_HANDLE);
|
||||
|
|
Loading…
Reference in a new issue