Marked as obsolete. Use direct OpenGL methods instead.

This commit is contained in:
the_fiddler 2007-09-26 23:13:30 +00:00
parent 21efddea04
commit d8514e8650

View file

@ -13,6 +13,7 @@ namespace OpenTK.OpenGL
/// <summary> /// <summary>
/// Provides methods to create and render a display list. /// Provides methods to create and render a display list.
/// </summary> /// </summary>
[Obsolete("Use OpenGL methods directly, instead.")]
public class DisplayList : IDisposable public class DisplayList : IDisposable
{ {
#region --- Private variables --- #region --- Private variables ---
@ -81,7 +82,9 @@ namespace OpenTK.OpenGL
GL.CallList(Id); GL.CallList(Id);
} }
#region IDisposable Members #endregion
#region --- IDisposable Members ---
public void Dispose() public void Dispose()
{ {
@ -91,7 +94,5 @@ namespace OpenTK.OpenGL
} }
#endregion #endregion
#endregion
} }
} }