mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-18 22:13:49 +00:00
wineandroid.drv: Add missing DM_DISPLAYORIENTATION flag on display mode.
This commit is contained in:
parent
6424b9d6b7
commit
37c2c6e352
|
@ -289,7 +289,7 @@ BOOL ANDROID_UpdateDisplayDevices( const struct gdi_device_manager *device_manag
|
|||
};
|
||||
const DEVMODEW mode =
|
||||
{
|
||||
.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL | DM_DISPLAYFLAGS | DM_DISPLAYFREQUENCY,
|
||||
.dmFields = DM_DISPLAYORIENTATION | DM_PELSWIDTH | DM_PELSHEIGHT | DM_BITSPERPEL | DM_DISPLAYFLAGS | DM_DISPLAYFREQUENCY,
|
||||
.dmBitsPerPel = screen_bpp, .dmPelsWidth = screen_width, .dmPelsHeight = screen_height, .dmDisplayFrequency = 60,
|
||||
};
|
||||
device_manager->add_gpu( &gpu, param );
|
||||
|
|
Loading…
Reference in a new issue