Fixed 'wgl' member by renaming it to 'glx' on Linux port.

This commit is contained in:
git 2018-04-26 14:45:31 +02:00
parent 68d0c63865
commit 4207a0a09b

View File

@ -506,7 +506,7 @@ GLFWbool _glfwCreateContextGLX(_GLFWwindow* window,
if(share) if(share)
{ {
// Use shared context instead of creating a new one // Use shared context instead of creating a new one
window->context.wgl.handle = share; window->context.glx.handle = share;
window->context.customctx = GLFW_FALSE; window->context.customctx = GLFW_FALSE;
} }
else else