mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[WIN32K]
Calculate flRaster in GDIINFO flags after calling DrvEnablePDEV. Should fix CORE-7079 svn path=/trunk/; revision=58759
This commit is contained in:
parent
881457ce32
commit
291e52f39e
1 changed files with 9 additions and 0 deletions
|
@ -163,6 +163,15 @@ PDEVOBJ_bEnablePDEV(
|
||||||
if (ppdev->gdiinfo.ulLogPixelsY == 0)
|
if (ppdev->gdiinfo.ulLogPixelsY == 0)
|
||||||
ppdev->gdiinfo.ulLogPixelsY = 96;
|
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 */
|
/* Setup Palette */
|
||||||
ppdev->ppalSurf = PALETTE_ShareLockPalette(ppdev->devinfo.hpalDefault);
|
ppdev->ppalSurf = PALETTE_ShareLockPalette(ppdev->devinfo.hpalDefault);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue