Fixed crash on resize.

This commit is contained in:
the_fiddler 2008-02-01 18:04:29 +00:00
parent c7e3f9f5e3
commit 6fc6719019

View file

@ -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))
{
}