mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-25 23:46:51 +00:00
Removed obsolete property.
This commit is contained in:
parent
2d90e61fa5
commit
c1da0f0434
|
@ -287,31 +287,6 @@ namespace OpenTK
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region public static IList<DisplayDevice> AvailableDisplays
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets the list of available <see cref="DisplayDevice"/> objects.
|
|
||||||
/// This function allocates memory.
|
|
||||||
/// </summary>
|
|
||||||
[Obsolete("Use GetDisplay(DisplayIndex) instead.")]
|
|
||||||
public static IList<DisplayDevice> AvailableDisplays
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
List<DisplayDevice> displays = new List<DisplayDevice>();
|
|
||||||
for (int i = 0; i < 6; i++)
|
|
||||||
{
|
|
||||||
DisplayDevice dev = GetDisplay(DisplayIndex.First + i);
|
|
||||||
if (dev != null)
|
|
||||||
displays.Add(dev);
|
|
||||||
}
|
|
||||||
|
|
||||||
return displays.AsReadOnly();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region public static DisplayDevice Default
|
#region public static DisplayDevice Default
|
||||||
|
|
||||||
/// <summary>Gets the default (primary) display of this system.</summary>
|
/// <summary>Gets the default (primary) display of this system.</summary>
|
||||||
|
|
Loading…
Reference in a new issue