mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
[NtGDI]
- Memory DC with no surface selected return true. WIP and part of CORE-12888. svn path=/trunk/; revision=75251
This commit is contained in:
parent
c4b72f20c6
commit
9338a7ec63
|
@ -597,7 +597,7 @@ IntRectangle(PDC dc,
|
|||
psurf = dc->dclevel.pSurface;
|
||||
if (!psurf)
|
||||
{
|
||||
ret = FALSE;
|
||||
ret = TRUE;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
@ -1085,7 +1085,7 @@ NtGdiExtFloodFill(
|
|||
|
||||
if (!dc->dclevel.pSurface)
|
||||
{
|
||||
Ret = FALSE;
|
||||
Ret = TRUE;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
|
|
@ -5147,6 +5147,13 @@ GreExtTextOutW(
|
|||
goto good;
|
||||
}
|
||||
|
||||
if (!dc->dclevel.pSurface)
|
||||
{
|
||||
/* Memory DC with no surface selected */
|
||||
DC_UnlockDc(dc);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (lprc && (fuOptions & (ETO_OPAQUE | ETO_CLIPPED)))
|
||||
{
|
||||
IntLPtoDP(dc, (POINT *)lprc, 2);
|
||||
|
@ -5172,11 +5179,6 @@ GreExtTextOutW(
|
|||
BrushOrigin.x = 0;
|
||||
BrushOrigin.y = 0;
|
||||
|
||||
if (!dc->dclevel.pSurface)
|
||||
{
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if ((fuOptions & ETO_OPAQUE) && lprc)
|
||||
{
|
||||
DestRect.left = lprc->left;
|
||||
|
|
Loading…
Reference in a new issue