Debug information now reports primary device.

This commit is contained in:
the_fiddler 2008-01-25 15:04:00 +00:00
parent 6977937b3b
commit 38840cf404

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());