Removed obsolete property.

This commit is contained in:
Jarl Gullberg 2017-06-20 15:10:02 +02:00
parent 2d90e61fa5
commit c1da0f0434
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -287,31 +287,6 @@ namespace OpenTK
#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
/// <summary>Gets the default (primary) display of this system.</summary>