mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 15:05:17 +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 =
|
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,
|
.dmBitsPerPel = screen_bpp, .dmPelsWidth = screen_width, .dmPelsHeight = screen_height, .dmDisplayFrequency = 60,
|
||||||
};
|
};
|
||||||
device_manager->add_gpu( &gpu, param );
|
device_manager->add_gpu( &gpu, param );
|
||||||
|
|
Loading…
Reference in a new issue