Commit 81bce4b2 authored by Doug Binks's avatar Doug Binks Committed by Degrande Samuel
Browse files

Fix for ELG wrong surface passed

parent af5bedc8
...@@ -779,8 +779,8 @@ GLFWbool _glfwChooseVisualEGL(const _GLFWwndconfig* wndconfig, ...@@ -779,8 +779,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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment