mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
Use flag from fbconfig instead of window (now removed)
This commit is contained in:
parent
0e9ade81a3
commit
ffca921954
@ -483,7 +483,7 @@ GLFWbool _glfwCreateContextGLX(_GLFWwindow* window,
|
|||||||
if (ctxconfig->share)
|
if (ctxconfig->share)
|
||||||
share = ctxconfig->share->context.glx.handle;
|
share = ctxconfig->share->context.glx.handle;
|
||||||
|
|
||||||
if (!chooseGLXFBConfig(fbconfig, &native, window->transparent))
|
if (!chooseGLXFBConfig(fbconfig, &native, fbconfig->transparent))
|
||||||
|
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_FORMAT_UNAVAILABLE,
|
_glfwInputError(GLFW_FORMAT_UNAVAILABLE,
|
||||||
|
Loading…
Reference in New Issue
Block a user