Commit 20336127 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

winemac.drv: Trace display device counts.

parent be5c7ed5
......@@ -1658,6 +1658,7 @@ void macdrv_init_display_devices(BOOL force)
/* Initialize GPUs */
if (macdrv_get_gpus(&gpus, &gpu_count))
goto done;
TRACE("GPU count: %d\n", gpu_count);
for (gpu = 0; gpu < gpu_count; gpu++)
{
......@@ -1667,11 +1668,13 @@ void macdrv_init_display_devices(BOOL force)
/* Initialize adapters */
if (macdrv_get_adapters(gpus[gpu].id, &adapters, &adapter_count))
goto done;
TRACE("GPU: %#llx %s, adapter count: %d\n", gpus[gpu].id, gpus[gpu].name, adapter_count);
for (adapter = 0; adapter < adapter_count; adapter++)
{
if (macdrv_get_monitors(adapters[adapter].id, &monitors, &monitor_count))
goto done;
TRACE("adapter: %#x, monitor count: %d\n", adapters[adapter].id, monitor_count);
if (!macdrv_init_adapter(video_hkey, video_index, gpu, adapter, monitor_count, &gpus[gpu], guidW, driverW,
&adapters[adapter]))
......@@ -1680,6 +1683,7 @@ void macdrv_init_display_devices(BOOL force)
/* Initialize monitors */
for (monitor = 0; monitor < monitor_count; monitor++)
{
TRACE("monitor: %#x %s\n", monitor, monitors[monitor].name);
if (!macdrv_init_monitor(monitor_devinfo, &monitors[monitor], monitor, video_index))
goto done;
}
......
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