From 8a808a49f9c1ebbe42faf8c74a016879c82be8bf Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 28 Oct 2011 23:11:04 +0200 Subject: [PATCH] wineps: Make color devices report 32 bits per pixel. --- dlls/wineps.drv/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wineps.drv/init.c b/dlls/wineps.drv/init.c index d667436c1c..52359983e0 100644 --- a/dlls/wineps.drv/init.c +++ b/dlls/wineps.drv/init.c @@ -452,7 +452,7 @@ static INT PSDRV_GetDeviceCaps( PHYSDEV dev, INT cap ) case DESKTOPVERTRES: return physDev->vertRes; case BITSPIXEL: - return (physDev->pi->ppd->ColorDevice != CD_False) ? 8 : 1; + return (physDev->pi->ppd->ColorDevice != CD_False) ? 32 : 1; case PLANES: return 1; case NUMBRUSHES: @@ -464,7 +464,7 @@ static INT PSDRV_GetDeviceCaps( PHYSDEV dev, INT cap ) case NUMFONTS: return 39; case NUMCOLORS: - return (physDev->pi->ppd->ColorDevice != CD_False) ? 256 : -1; + return -1; case PDEVICESIZE: return sizeof(PSDRV_PDEVICE); case CURVECAPS: