wineps: Make color devices report 32 bits per pixel.

This commit is contained in:
Alexandre Julliard 2011-10-28 23:11:04 +02:00
parent dd3721c0f9
commit 8a808a49f9
1 changed files with 2 additions and 2 deletions

View File

@ -452,7 +452,7 @@ static INT PSDRV_GetDeviceCaps( PHYSDEV dev, INT cap )
case DESKTOPVERTRES: case DESKTOPVERTRES:
return physDev->vertRes; return physDev->vertRes;
case BITSPIXEL: case BITSPIXEL:
return (physDev->pi->ppd->ColorDevice != CD_False) ? 8 : 1; return (physDev->pi->ppd->ColorDevice != CD_False) ? 32 : 1;
case PLANES: case PLANES:
return 1; return 1;
case NUMBRUSHES: case NUMBRUSHES:
@ -464,7 +464,7 @@ static INT PSDRV_GetDeviceCaps( PHYSDEV dev, INT cap )
case NUMFONTS: case NUMFONTS:
return 39; return 39;
case NUMCOLORS: case NUMCOLORS:
return (physDev->pi->ppd->ColorDevice != CD_False) ? 256 : -1; return -1;
case PDEVICESIZE: case PDEVICESIZE:
return sizeof(PSDRV_PDEVICE); return sizeof(PSDRV_PDEVICE);
case CURVECAPS: case CURVECAPS: