mirror of
https://github.com/reactos/reactos.git
synced 2025-06-06 18:00:41 +00:00
[WIN32SS/NTGDI]
- Do not assume that DC has a valid surface attached in GreExtTextOutW svn path=/trunk/; revision=56951
This commit is contained in:
parent
43273addf5
commit
fd59686178
1 changed files with 1 additions and 0 deletions
|
@ -3391,6 +3391,7 @@ GreExtTextOutW(
|
||||||
DC_vPrepareDCsForBlit(dc, DummyRect, NULL, DummyRect);
|
DC_vPrepareDCsForBlit(dc, DummyRect, NULL, DummyRect);
|
||||||
|
|
||||||
psurf = dc->dclevel.pSurface ;
|
psurf = dc->dclevel.pSurface ;
|
||||||
|
if(!psurf) psurf = psurfDefaultBitmap;
|
||||||
SurfObj = &psurf->SurfObj ;
|
SurfObj = &psurf->SurfObj ;
|
||||||
|
|
||||||
EXLATEOBJ_vInitialize(&exloRGB2Dst, &gpalRGB, psurf->ppal, 0, 0, 0);
|
EXLATEOBJ_vInitialize(&exloRGB2Dst, &gpalRGB, psurf->ppal, 0, 0, 0);
|
||||||
|
|
Loading…
Reference in a new issue