Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
aa5915ff
Commit
aa5915ff
authored
Apr 03, 2023
by
Alexandros Frantzis
Committed by
Alexandre Julliard
Apr 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineandroid.drv: Set the current mode using gdi_device_manager.
Signed-off-by:
Alexandros Frantzis
<
alexandros.frantzis@collabora.com
>
parent
faa0fc82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
init.c
dlls/wineandroid.drv/init.c
+3
-2
No files found.
dlls/wineandroid.drv/init.c
View file @
aa5915ff
...
@@ -289,13 +289,14 @@ BOOL ANDROID_UpdateDisplayDevices( const struct gdi_device_manager *device_manag
...
@@ -289,13 +289,14 @@ BOOL ANDROID_UpdateDisplayDevices( const struct gdi_device_manager *device_manag
};
};
const
DEVMODEW
mode
=
const
DEVMODEW
mode
=
{
{
.
dmFields
=
DM_DISPLAYORIENTATION
|
DM_PELSWIDTH
|
DM_PELSHEIGHT
|
DM_BITSPERPEL
|
DM_DISPLAYFLAGS
|
DM_DISPLAYFREQUENCY
,
.
dmFields
=
DM_DISPLAYORIENTATION
|
DM_PELSWIDTH
|
DM_PELSHEIGHT
|
DM_BITSPERPEL
|
DM_DISPLAYFLAGS
|
DM_DISPLAYFREQUENCY
|
DM_POSITION
,
.
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
);
device_manager
->
add_adapter
(
&
adapter
,
param
);
device_manager
->
add_adapter
(
&
adapter
,
param
);
device_manager
->
add_monitor
(
&
gdi_monitor
,
param
);
device_manager
->
add_monitor
(
&
gdi_monitor
,
param
);
device_manager
->
add_mode
(
&
mode
,
FALS
E
,
param
);
device_manager
->
add_mode
(
&
mode
,
TRU
E
,
param
);
force_display_devices_refresh
=
FALSE
;
force_display_devices_refresh
=
FALSE
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment