From 28bf3f700d60970d84011f503fb6a7f3d56e0599 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 24 Mar 2013 21:18:33 +0100 Subject: [PATCH] Fixed uninitialized variable. --- src/egl_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;