Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
5a804af7
Commit
5a804af7
authored
Sep 16, 2021
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Sep 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac.drv: Register GUID_DISPLAY_DEVICE_ARRIVAL interface for GPUs.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9a370223
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
display.c
dlls/winemac.drv/display.c
+7
-0
No files found.
dlls/winemac.drv/display.c
View file @
5a804af7
...
...
@@ -1540,6 +1540,13 @@ static BOOL macdrv_init_gpu(HDEVINFO devinfo, const struct macdrv_gpu *gpu, int
if
(
!
link_device
(
instanceW
,
&
GUID_DEVINTERFACE_DISPLAY_ADAPTER
))
goto
done
;
/* Register GUID_DISPLAY_DEVICE_ARRIVAL */
if
(
!
SetupDiCreateDeviceInterfaceW
(
devinfo
,
&
device_data
,
&
GUID_DISPLAY_DEVICE_ARRIVAL
,
NULL
,
0
,
NULL
))
goto
done
;
if
(
!
link_device
(
instanceW
,
&
GUID_DISPLAY_DEVICE_ARRIVAL
))
goto
done
;
/* Write HardwareID registry property, REG_MULTI_SZ */
written
=
sprintfW
(
bufferW
,
gpu_hardware_id_fmtW
,
gpu
->
vendor_id
,
gpu
->
device_id
);
bufferW
[
written
+
1
]
=
0
;
...
...
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