wineps: Inherit the device mode from the source DC when creating a compatible DC.
This commit is contained in:
parent
5f1f57ce48
commit
d77f0ae743
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue