mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 06:10:59 +00:00
Mac OS X Fix for GameWindow to call glContext.Update when resized
This commit is contained in:
parent
742cf961e4
commit
8bd20009b2
|
@ -959,6 +959,16 @@ namespace OpenTK
|
|||
/// <param name="e">Not used.</param>
|
||||
protected virtual void OnWindowInfoChanged(EventArgs e) { }
|
||||
|
||||
#endregion
|
||||
|
||||
#region OnResize
|
||||
|
||||
protected override void OnResize(EventArgs e)
|
||||
{
|
||||
base.OnResize(e);
|
||||
glContext.Update(base.WindowInfo);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue