[PATCH] winemac.drv: Print error when no GPUs are detected.
8 Sep
2020
8 Sep
'20
11:09 p.m.
Signed-off-by: Brendan Shanks <bshanks(a)codeweavers.com> --- dlls/winemac.drv/display.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/winemac.drv/display.c b/dlls/winemac.drv/display.c index a96a7b2c5f6..078cb55ab8a 100644 --- a/dlls/winemac.drv/display.c +++ b/dlls/winemac.drv/display.c @@ -1790,6 +1790,8 @@ void macdrv_init_display_devices(BOOL force) if (macdrv_get_gpus(&gpus, &gpu_count)) goto done; TRACE("GPU count: %d\n", gpu_count); + if (!gpu_count) + ERR("No GPUs detected\n"); for (gpu = 0; gpu < gpu_count; gpu++) { -- 2.26.2
1926
Age (days ago)
1927
Last active (days ago)
1 comments
2 participants
participants (2)
-
Brendan Shanks -
Ken Thomases