mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 04:25:30 +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();
|
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>
|
/// <summary>
|
||||||
/// Gets the address of an OpenGL extension function.
|
/// Gets the address of an OpenGL extension function.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -105,12 +105,6 @@ namespace OpenTK.Graphics
|
||||||
/// </summary>
|
/// </summary>
|
||||||
void DisposeResources();
|
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>
|
/// <summary>
|
||||||
/// Gets the address of an OpenGL extension function.
|
/// Gets the address of an OpenGL extension function.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -253,15 +253,6 @@ namespace OpenTK.Platform.Windows
|
||||||
|
|
||||||
#endregion
|
#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)
|
#region void IGLContextInternal.RegisterForDisposal(IDisposable resource)
|
||||||
|
|
||||||
void IGraphicsContextInternal.RegisterForDisposal(IDisposable resource)
|
void IGraphicsContextInternal.RegisterForDisposal(IDisposable resource)
|
||||||
|
|
|
@ -234,11 +234,6 @@ namespace OpenTK.Platform.X11
|
||||||
throw new NotSupportedException("Use OpenTK.GraphicsContext instead.");
|
throw new NotSupportedException("Use OpenTK.GraphicsContext instead.");
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<DisplayMode> GetDisplayModes()
|
|
||||||
{
|
|
||||||
throw new Exception("The method or operation is not implemented.");
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region --- IGLContextInternal Members ---
|
#region --- IGLContextInternal Members ---
|
||||||
|
|
Loading…
Reference in a new issue