diff --git a/src/egl_context.c b/src/egl_context.c index df517f7e..6e362cea 100644 --- a/src/egl_context.c +++ b/src/egl_context.c @@ -155,7 +155,7 @@ int _glfwCreateContext(_GLFWwindow* window, const _GLFWfbconfig* fbconfig) { int attribs[40]; - EGLint count; + EGLint count = 0; EGLConfig config; EGLContext share = NULL;