progs/egl: Silence uninitialized variable warnings.
This commit is contained in:
@@ -374,7 +374,8 @@ main(int argc, char *argv[])
|
|||||||
EGLint screenAttribs[10];
|
EGLint screenAttribs[10];
|
||||||
EGLModeMESA mode[MAX_MODES];
|
EGLModeMESA mode[MAX_MODES];
|
||||||
EGLScreenMESA screen;
|
EGLScreenMESA screen;
|
||||||
EGLint count, chosenMode;
|
EGLint count;
|
||||||
|
EGLint chosenMode = 0;
|
||||||
GLboolean printInfo = GL_FALSE;
|
GLboolean printInfo = GL_FALSE;
|
||||||
EGLint width = 0, height = 0;
|
EGLint width = 0, height = 0;
|
||||||
|
|
||||||
|
@@ -52,7 +52,8 @@ main(int argc, char *argv[])
|
|||||||
EGLint screenAttribs[10];
|
EGLint screenAttribs[10];
|
||||||
EGLModeMESA mode[MAX_MODES];
|
EGLModeMESA mode[MAX_MODES];
|
||||||
EGLScreenMESA screen;
|
EGLScreenMESA screen;
|
||||||
EGLint count, chosenMode;
|
EGLint count;
|
||||||
|
EGLint chosenMode = 0;
|
||||||
EGLint width = 0, height = 0;
|
EGLint width = 0, height = 0;
|
||||||
|
|
||||||
d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
|
d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
|
||||||
|
Reference in New Issue
Block a user