mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-20 05:17:57 +00:00
Removed a couple of debug messages. Now marks the current resolution among all available resolutions in debug mode.
This commit is contained in:
parent
d7dc113238
commit
e9f177037e
|
@ -74,7 +74,7 @@ namespace OpenTK.Graphics
|
||||||
available_displays.Count, available_resolutions.Count, primary ? "primary" : "secondary");
|
available_displays.Count, available_resolutions.Count, primary ? "primary" : "secondary");
|
||||||
Debug.Indent();
|
Debug.Indent();
|
||||||
foreach (DisplayResolution res in available_resolutions)
|
foreach (DisplayResolution res in available_resolutions)
|
||||||
Debug.Print(res.ToString());
|
Debug.Print(res == current_resolution ? String.Format(">>{0}<<", res.ToString()) : res.ToString());
|
||||||
Debug.Unindent();
|
Debug.Unindent();
|
||||||
|
|
||||||
lock (display_lock)
|
lock (display_lock)
|
||||||
|
@ -106,7 +106,7 @@ namespace OpenTK.Graphics
|
||||||
#region public int BitsPerPixel
|
#region public int BitsPerPixel
|
||||||
|
|
||||||
/// <summary>Gets a System.Int32 that contains number of bits per pixel of this display. Typical values include 8, 16, 24 and 32.</summary>
|
/// <summary>Gets a System.Int32 that contains number of bits per pixel of this display. Typical values include 8, 16, 24 and 32.</summary>
|
||||||
public int BitsPerPixel { get { Debug.Print("This method is not supported currently."); return current_resolution.BitsPerPixel; } }
|
public int BitsPerPixel { get { return current_resolution.BitsPerPixel; } }
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue