Slightly improved debug string for each DisplayDevice.
This commit is contained in:
parent
7a12e6de77
commit
c0984b7741
1 changed files with 3 additions and 3 deletions
|
@ -70,11 +70,11 @@ namespace OpenTK.Graphics
|
|||
this.primary = primary;
|
||||
this.available_resolutions.AddRange(availableResolutions);
|
||||
|
||||
Debug.Print("DisplayDevice {0} supports {1} resolutions ({2}).",
|
||||
available_displays.Count, available_resolutions.Count, primary ? "primary" : "secondary");
|
||||
Debug.Print("DisplayDevice {0} ({1}) supports {2} resolutions.",
|
||||
available_displays.Count, primary ? "primary" : "secondary", available_resolutions.Count);
|
||||
Debug.Indent();
|
||||
foreach (DisplayResolution res in available_resolutions)
|
||||
Debug.Print(res == current_resolution ? String.Format(">>{0}<<", res.ToString()) : res.ToString());
|
||||
Debug.Print(res == current_resolution ? String.Format(">> {0} <<", res.ToString()) : res.ToString());
|
||||
Debug.Unindent();
|
||||
|
||||
lock (display_lock)
|
||||
|
|
Loading…
Reference in a new issue