diff --git a/src/glx_context.c b/src/glx_context.c index 88c3af244..09627bd12 100644 --- a/src/glx_context.c +++ b/src/glx_context.c @@ -506,7 +506,7 @@ GLFWbool _glfwCreateContextGLX(_GLFWwindow* window, if(share) { // Use shared context instead of creating a new one - window->context.wgl.handle = share; + window->context.glx.handle = share; window->context.customctx = GLFW_FALSE; } else