mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-30 11:16:56 +00:00
Fixed crash on resize.
This commit is contained in:
parent
3658987dc0
commit
f16b6c55c6
|
@ -159,6 +159,7 @@ namespace OpenTK
|
||||||
/// <param name="title">The Title of the GameWindow.</param>
|
/// <param name="title">The Title of the GameWindow.</param>
|
||||||
[Obsolete]
|
[Obsolete]
|
||||||
public GameWindow(DisplayMode mode, string title)
|
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