Commit 7eddd79e authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

winemac.drv: Print error when no GPUs are detected.

parent 1445ae79
......@@ -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++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment