Fixed crash on resize.
This commit is contained in:
parent
3658987dc0
commit
f16b6c55c6
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ namespace OpenTK
|
|||
/// <param name="title">The Title of the GameWindow.</param>
|
||||
[Obsolete]
|
||||
public GameWindow(DisplayMode mode, string title)
|
||||
: this(title, mode.Width, mode.Height, new GraphicsFormat(mode.Color, mode.DepthBits, mode.StencilBits, mode.AuxBits))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue