wineps: Inherit the device mode from the source DC when creating a compatible DC.

This commit is contained in:
Alexandre Julliard 2011-12-16 12:08:38 +01:00
parent 5f1f57ce48
commit d77f0ae743
1 changed files with 1 additions and 0 deletions

View File

@ -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 );