From: Armin Sander Date: Sun, 19 Mar 2017 14:28:26 +0000 (+0100) Subject: be sure the current context is set before calling Egl.WaitClient() X-Git-Tag: v3.0.0~17^2~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89e792ee478ce977353386db0faaec439065f4bc;p=platform%2Fcore%2Fcsapi%2Fopentk.git be sure the current context is set before calling Egl.WaitClient() --- diff --git a/src/OpenTK/Platform/Egl/EglContext.cs b/src/OpenTK/Platform/Egl/EglContext.cs index c45ad7b..9b1639e 100644 --- a/src/OpenTK/Platform/Egl/EglContext.cs +++ b/src/OpenTK/Platform/Egl/EglContext.cs @@ -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.