diff --git a/src/egl_context.c b/src/egl_context.c index 7b3e1b88..6359733c 100644 --- a/src/egl_context.c +++ b/src/egl_context.c @@ -840,7 +840,7 @@ static void _glfwDestroyUserContextEGL(_GLFWusercontext* context) { if (context->egl.surface!=EGL_NO_SURFACE) eglDestroySurface(_glfw.egl.display,context->egl.surface); - + eglDestroyContext(_glfw.egl.display, context->egl.handle); free(context); }