mirror of
https://github.com/gwm17/glfw.git
synced 2025-01-30 19:08:51 -05:00
Fix a maybe-uninitialized warning on GCC 4.9
This commit is contained in:
parent
ca8912375c
commit
a02aeaf972
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user