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