Use flag from fbconfig instead of window (now removed)

This commit is contained in:
Bailey Cosier 2017-09-17 22:24:38 +07:00
parent 0e9ade81a3
commit ffca921954

View File

@ -483,7 +483,7 @@ GLFWbool _glfwCreateContextGLX(_GLFWwindow* window,
if (ctxconfig->share)
share = ctxconfig->share->context.glx.handle;
if (!chooseGLXFBConfig(fbconfig, &native, window->transparent))
if (!chooseGLXFBConfig(fbconfig, &native, fbconfig->transparent))
{
_glfwInputError(GLFW_FORMAT_UNAVAILABLE,