Fix for ELG wrong surface passed

This commit is contained in:
Doug Binks 2020-07-15 13:23:38 +01:00
parent 3de9ed6453
commit 5f52f2a7f8

View File

@ -820,8 +820,8 @@ GLFWbool _glfwChooseVisualEGL(const _GLFWwndconfig* wndconfig,
static void _glfwMakeUserContextCurrentEGL(_GLFWusercontext* context) static void _glfwMakeUserContextCurrentEGL(_GLFWusercontext* context)
{ {
if (!eglMakeCurrent(_glfw.egl.display, if (!eglMakeCurrent(_glfw.egl.display,
context->window->context.egl.surface, context->egl.surface,
context->window->context.egl.surface, context->egl.surface,
context->egl.handle)) context->egl.handle))
{ {
_glfwInputError(GLFW_PLATFORM_ERROR, _glfwInputError(GLFW_PLATFORM_ERROR,