Author: tkreuzer
Date: Sun Apr 14 17:17:44 2013
New Revision: 58759
URL:
http://svn.reactos.org/svn/reactos?rev=58759&view=rev
Log:
[WIN32K]
Calculate flRaster in GDIINFO flags after calling DrvEnablePDEV. Should fix CORE-7079
Modified:
trunk/reactos/win32ss/gdi/eng/pdevobj.c
Modified: trunk/reactos/win32ss/gdi/eng/pdevobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/pdevobj.c?…
==============================================================================
--- trunk/reactos/win32ss/gdi/eng/pdevobj.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/eng/pdevobj.c [iso-8859-1] Sun Apr 14 17:17:44 2013
@@ -162,6 +162,15 @@
if (ppdev->gdiinfo.ulLogPixelsY == 0)
ppdev->gdiinfo.ulLogPixelsY = 96;
+
+ /* Set raster caps */
+ ppdev->gdiinfo.flRaster = RC_OP_DX_OUTPUT | RC_GDI20_OUTPUT | RC_BIGFONT;
+ if ((ppdev->gdiinfo.ulTechnology != DT_PLOTTER) &&
(ppdev->gdiinfo.ulTechnology != DT_CHARSTREAM))
+ ppdev->gdiinfo.flRaster |= RC_STRETCHDIB | RC_STRETCHBLT | RC_DIBTODEV |
RC_DI_BITMAP | RC_BITMAP64 | RC_BITBLT;
+ if (ppdev->gdiinfo.ulTechnology == DT_RASDISPLAY)
+ ppdev->gdiinfo.flRaster |= RC_FLOODFILL;
+ if (ppdev->devinfo.flGraphicsCaps & GCAPS_PALMANAGED)
+ ppdev->gdiinfo.flRaster |= RC_PALETTE;
/* Setup Palette */
ppdev->ppalSurf = PALETTE_ShareLockPalette(ppdev->devinfo.hpalDefault);