Commit 8a808a49 authored by Alexandre Julliard's avatar Alexandre Julliard

wineps: Make color devices report 32 bits per pixel.

parent dd3721c0
...@@ -452,7 +452,7 @@ static INT PSDRV_GetDeviceCaps( PHYSDEV dev, INT cap ) ...@@ -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 ) ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment