I don't think it makes sense to draw text into the default bitmap :)
Am 23.07.2012 17:35, schrieb jgardou(a)svn.reactos.org:
Author: jgardou
Date: Mon Jul 23 15:35:42 2012
New Revision: 56951
URL:
http://svn.reactos.org/svn/reactos?rev=56951&view=rev
Log:
[WIN32SS/NTGDI]
- Do not assume that DC has a valid surface attached in GreExtTextOutW
Modified:
trunk/reactos/win32ss/gdi/ntgdi/freetype.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/freetype.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/freetype…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/freetype.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/freetype.c [iso-8859-1] Mon Jul 23 15:35:42 2012
@@ -3391,6 +3391,7 @@
DC_vPrepareDCsForBlit(dc, DummyRect, NULL, DummyRect);
psurf = dc->dclevel.pSurface ;
+ if(!psurf) psurf = psurfDefaultBitmap;
SurfObj = &psurf->SurfObj ;
EXLATEOBJ_vInitialize(&exloRGB2Dst, &gpalRGB, psurf->ppal, 0, 0, 0);