Commit 6fdee15d authored by Alexandre Julliard's avatar Alexandre Julliard

wineps.drv: Return correct values for DESKTOPHORZ/VERTRES since they are used to…

wineps.drv: Return correct values for DESKTOPHORZ/VERTRES since they are used to setup the visible region.
parent c07da706
......@@ -426,8 +426,10 @@ INT PSDRV_GetDeviceCaps( PSDRV_PDEVICE *physDev, INT cap )
return MulDiv(physDev->vertSize, 100,
physDev->Devmode->dmPublic.dmScale);
case HORZRES:
case DESKTOPHORZRES:
return physDev->horzRes;
case VERTRES:
case DESKTOPVERTRES:
return physDev->vertRes;
case BITSPIXEL:
return (physDev->pi->ppd->ColorDevice != CD_False) ? 8 : 1;
......@@ -508,8 +510,6 @@ INT PSDRV_GetDeviceCaps( PSDRV_PDEVICE *physDev, INT cap )
case SCALINGFACTORX:
case SCALINGFACTORY:
case VREFRESH:
case DESKTOPVERTRES:
case DESKTOPHORZRES:
case BLTALIGNMENT:
return 0;
default:
......
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