From 5f52f2a7f85de2c42f34981a524f93d0fb9d4256 Mon Sep 17 00:00:00 2001 From: Doug Binks Date: Wed, 15 Jul 2020 13:23:38 +0100 Subject: [PATCH] Fix for ELG wrong surface passed --- src/egl_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/egl_context.c b/src/egl_context.c index 7b5bb0f3..5eb8eb47 100644 --- a/src/egl_context.c +++ b/src/egl_context.c @@ -820,8 +820,8 @@ GLFWbool _glfwChooseVisualEGL(const _GLFWwndconfig* wndconfig, static void _glfwMakeUserContextCurrentEGL(_GLFWusercontext* context) { if (!eglMakeCurrent(_glfw.egl.display, - context->window->context.egl.surface, - context->window->context.egl.surface, + context->egl.surface, + context->egl.surface, context->egl.handle)) { _glfwInputError(GLFW_PLATFORM_ERROR,