wineandroid.drv: Add missing DM_DISPLAYORIENTATION flag on display mode.

This commit is contained in:
Rémi Bernon 2022-09-09 08:30:41 +02:00 committed by Alexandre Julliard
parent 6424b9d6b7
commit 37c2c6e352

View file

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