From 89e792ee478ce977353386db0faaec439065f4bc Mon Sep 17 00:00:00 2001 From: Armin Sander Date: Sun, 19 Mar 2017 15:28:26 +0100 Subject: [PATCH] be sure the current context is set before calling Egl.WaitClient() --- src/OpenTK/Platform/Egl/EglContext.cs | 1 + 1 file changed, 1 insertion(+) 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. -- 2.7.4