mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
[WIN32K]
- Do not access surface before holding ppdev Lock svn path=/branches/reactos-yarotows/; revision=46951
This commit is contained in:
parent
8188ea3959
commit
202a5fc5c7
|
@ -942,13 +942,6 @@ IntPatBlt(
|
|||
|
||||
ASSERT(pbrush);
|
||||
|
||||
psurf = pdc->dclevel.pSurface;
|
||||
if (psurf == NULL)
|
||||
{
|
||||
SetLastWin32Error(ERROR_INVALID_HANDLE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (pbrush->flAttrs & GDIBRUSH_IS_NULL)
|
||||
{
|
||||
return TRUE;
|
||||
|
@ -988,6 +981,8 @@ IntPatBlt(
|
|||
|
||||
DC_vPrepareDCsForBlit(pdc, DestRect, NULL, DestRect);
|
||||
|
||||
psurf = pdc->dclevel.pSurface;
|
||||
|
||||
EBRUSHOBJ_vInit(&eboFill, pbrush, pdc);
|
||||
|
||||
ret = IntEngBitBlt(
|
||||
|
|
Loading…
Reference in a new issue