2
0
Эх сурвалжийг харах

Fixed uninitialized variable.

Camilla Berglund 12 жил өмнө
parent
commit
28bf3f700d
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;