Fixed crash on resize.
This commit is contained in:
parent
c7e3f9f5e3
commit
6fc6719019
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