mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 16:55:28 +00:00
Removed obsolete GetDisplayModes() function.
This commit is contained in:
parent
224f917a49
commit
84f117b3d3
|
@ -333,15 +333,6 @@ namespace OpenTK.Graphics
|
|||
dispose_queue.Clear();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the display modes supported by the current opengl context.
|
||||
/// </summary>
|
||||
/// <returns>An IEnumerable containing all supported display modes.</returns>
|
||||
IEnumerable<DisplayMode> IGraphicsContextInternal.GetDisplayModes()
|
||||
{
|
||||
return (implementation as IGraphicsContextInternal).GetDisplayModes();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the address of an OpenGL extension function.
|
||||
/// </summary>
|
||||
|
|
|
@ -105,12 +105,6 @@ namespace OpenTK.Graphics
|
|||
/// </summary>
|
||||
void DisposeResources();
|
||||
|
||||
/// <summary>
|
||||
/// Returns the display modes supported by the current opengl context.
|
||||
/// </summary>
|
||||
/// <returns>An IEnumerable containing all supported display modes.</returns>
|
||||
IEnumerable<DisplayMode> GetDisplayModes();
|
||||
|
||||
/// <summary>
|
||||
/// Gets the address of an OpenGL extension function.
|
||||
/// </summary>
|
||||
|
|
|
@ -253,15 +253,6 @@ namespace OpenTK.Platform.Windows
|
|||
|
||||
#endregion
|
||||
|
||||
#region public DisplayMode[] GetDisplayModes()
|
||||
|
||||
public IEnumerable<DisplayMode> GetDisplayModes()
|
||||
{
|
||||
throw new NotSupportedException("See OpenTK.Graphics.DisplayDevice.AvailableModes instead.");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region void IGLContextInternal.RegisterForDisposal(IDisposable resource)
|
||||
|
||||
void IGraphicsContextInternal.RegisterForDisposal(IDisposable resource)
|
||||
|
|
|
@ -234,11 +234,6 @@ namespace OpenTK.Platform.X11
|
|||
throw new NotSupportedException("Use OpenTK.GraphicsContext instead.");
|
||||
}
|
||||
|
||||
public IEnumerable<DisplayMode> GetDisplayModes()
|
||||
{
|
||||
throw new Exception("The method or operation is not implemented.");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region --- IGLContextInternal Members ---
|
||||
|
|
Loading…
Reference in a new issue