Kaynağa Gözat

Fixed uninitialized variable.

Camilla Berglund 12 yıl önce
ebeveyn
işleme
28bf3f700d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;