From c0c0690a43a67c1ae2e00162c0d6faf32c328cb2 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 23 Jan 2008 12:41:30 +0000 Subject: [PATCH] Display.Width/.Height are now obsolete. --- Source/OpenTK/DisplayMode.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/OpenTK/DisplayMode.cs b/Source/OpenTK/DisplayMode.cs index a4bd0cb6..184b0241 100644 --- a/Source/OpenTK/DisplayMode.cs +++ b/Source/OpenTK/DisplayMode.cs @@ -199,6 +199,7 @@ namespace OpenTK /// /// Gets or sets the Height of the DisplayMode. Height is the vertical span measured in pixels. /// + [Obsolete("Use GameWindow.Height or GLControl.Height instead.")] public int Height { get { return height; } @@ -218,6 +219,7 @@ namespace OpenTK /// /// Gets or sets the Width of the DisplayMode. Width is the horizontal span measured in pixels. /// + [Obsolete("Use GameWindow.Width or GLControl.Width instead.")] public int Width { get { return width; }