diff --git a/src/glx_context.c b/src/glx_context.c index 79d6eb5e..5e149c60 100644 --- a/src/glx_context.c +++ b/src/glx_context.c @@ -280,7 +280,7 @@ int _glfwCreateContext(_GLFWwindow* window, const _GLFWfbconfig* fbconfig) { int attribs[40]; - GLXFBConfig native; + GLXFBConfig native = NULL; GLXContext share = NULL; if (ctxconfig->share)