Browse Source

Fixed uninitialized variable.

Camilla Berglund 12 years ago
parent
commit
28bf3f700d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/egl_context.c

+ 1 - 1
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;