Debug information now reports primary device.

This commit is contained in:
the_fiddler 2008-01-25 15:04:00 +00:00
parent b134ae509f
commit 733a1dd272

View file

@ -70,7 +70,8 @@ namespace OpenTK.Graphics
this.primary = primary;
this.available_resolutions.AddRange(availableResolutions);
Debug.Print("DisplayDevice {0} supports {1} resolutions.", available_displays.Count, available_resolutions.Count);
Debug.Print("DisplayDevice {0} supports {1} resolutions ({2}).",
available_displays.Count, available_resolutions.Count, primary ? "primary" : "secondary");
Debug.Indent();
foreach (DisplayResolution res in available_resolutions)
Debug.Print(res.ToString());