Module: wine Branch: master Commit: 37c2c6e352d3464f3fdecc8e93ef2c091458023e URL: https://gitlab.winehq.org/wine/wine/-/commit/37c2c6e352d3464f3fdecc8e93ef2c0...
Author: Rémi Bernon rbernon@codeweavers.com Date: Fri Sep 9 08:30:41 2022 +0200
wineandroid.drv: Add missing DM_DISPLAYORIENTATION flag on display mode.
---
dlls/wineandroid.drv/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wineandroid.drv/init.c b/dlls/wineandroid.drv/init.c index aba642d1c5d..2cd01bd3f50 100644 --- a/dlls/wineandroid.drv/init.c +++ b/dlls/wineandroid.drv/init.c @@ -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 );