mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 04:45:38 +00:00
Added some cool debugging information on available resolutions per device.
This commit is contained in:
parent
ed45d3590d
commit
d546132a5b
|
@ -70,6 +70,12 @@ namespace OpenTK.Graphics
|
||||||
this.primary = primary;
|
this.primary = primary;
|
||||||
this.available_resolutions.AddRange(availableResolutions);
|
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)
|
lock (display_lock)
|
||||||
{
|
{
|
||||||
available_displays.Add(this);
|
available_displays.Add(this);
|
||||||
|
|
Loading…
Reference in a new issue