mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-19 08:07:58 +00:00
Removed obsolete GetDisplayModes() function.
This commit is contained in:
parent
97a6b4e9c7
commit
4b45494433
|
@ -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