mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-03 08:01:01 +00:00
Added some cool debugging information on available resolutions per device.
This commit is contained in:
parent
d2f80532ca
commit
7087802fc8
|
@ -70,6 +70,12 @@ 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.Indent();
|
||||
foreach (DisplayResolution res in available_resolutions)
|
||||
Debug.Print(res.ToString());
|
||||
Debug.Unindent();
|
||||
|
||||
lock (display_lock)
|
||||
{
|
||||
available_displays.Add(this);
|
||||
|
|
Loading…
Reference in a new issue