Mac OS X Fix for GameWindow to call glContext.Update when resized

This commit is contained in:
kanato 2009-11-09 06:51:52 +00:00
parent 959a1e8eb7
commit 017c9e86d0

View file

@ -961,13 +961,23 @@ namespace OpenTK
#endregion
#endregion
#region OnResize
#region --- Private Members ---
protected override void OnResize(EventArgs e)
{
base.OnResize(e);
glContext.Update(base.WindowInfo);
}
#region OnLoadInternal
#endregion
private void OnLoadInternal(EventArgs e)
#endregion
#region --- Private Members ---
#region OnLoadInternal
private void OnLoadInternal(EventArgs e)
{
OnResize(EventArgs.Empty);
OnLoad(e);