Mark DisplayMode constructor as obsolete.
This commit is contained in:
parent
61debfe8d2
commit
1606a5781b
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ namespace OpenTK
|
|||
|
||||
/// <summary>This method is obsolete and will be removed in future versions.</summary>
|
||||
/// <param name="mode">Obsolete.</param>
|
||||
[Obsolete]
|
||||
public GLControl(DisplayMode mode)
|
||||
: this(mode.ToGraphicsMode())
|
||||
{ }
|
||||
|
|
Loading…
Reference in a new issue