From 41f6619652a3cb578b1d6c1407cad98d1c55e91c Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 26 Sep 2007 23:13:30 +0000 Subject: [PATCH] Marked as obsolete. Use direct OpenGL methods instead. --- Source/OpenTK/OpenGL/DisplayList.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 } }