be sure the current context is set before calling Egl.WaitClient()

This commit is contained in:
Armin Sander 2017-03-19 15:28:26 +01:00
parent 30752ed36d
commit 89e792ee47

View file

@ -173,6 +173,7 @@ namespace OpenTK.Platform.Egl
public override void Update(IWindowInfo window)
{
MakeCurrent(window);
// ANGLE updates the width and height of the back buffer surfaces in the WaitClient function.
// So without this calling this function, the surface won't match the size of the window after it
// was resized.