Module: wine Branch: master Commit: d77f0ae743a2b007fcff2d415e4723168efd15a7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d77f0ae743a2b007fcff2d415e...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Dec 16 12:08:38 2011 +0100
wineps: Inherit the device mode from the source DC when creating a compatible DC.
---
dlls/wineps.drv/init.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wineps.drv/init.c b/dlls/wineps.drv/init.c index 9cba84a..6ebd7c5 100644 --- a/dlls/wineps.drv/init.c +++ b/dlls/wineps.drv/init.c @@ -385,6 +385,7 @@ static BOOL PSDRV_CreateCompatibleDC( PHYSDEV orig, PHYSDEV *pdev )
if (!pi) return FALSE; if (!(physDev = create_psdrv_physdev( pi ))) return FALSE; + PSDRV_MergeDevmodes( physDev->Devmode, orig_dev->Devmode, pi ); PSDRV_UpdateDevCaps(physDev); SelectObject( hdc, PSDRV_DefaultFont ); push_dc_driver( pdev, &physDev->dev, &psdrv_funcs );