Mark DisplayMode constructor as obsolete.

This commit is contained in:
the_fiddler 2008-11-18 12:43:38 +00:00
parent 61debfe8d2
commit 1606a5781b

View file

@ -42,6 +42,7 @@ namespace OpenTK
/// <summary>This method is obsolete and will be removed in future versions.</summary> /// <summary>This method is obsolete and will be removed in future versions.</summary>
/// <param name="mode">Obsolete.</param> /// <param name="mode">Obsolete.</param>
[Obsolete]
public GLControl(DisplayMode mode) public GLControl(DisplayMode mode)
: this(mode.ToGraphicsMode()) : this(mode.ToGraphicsMode())
{ } { }