diff options
author | Vinson Lee <vlee@vmware.com> | 2010-01-03 21:39:20 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-01-03 21:39:20 -0800 |
commit | 8a29e3f8e8e1f05e54959063928a93d7a5eef0f0 (patch) | |
tree | 2b450b021d8851732f0afa00a7900671f9fc9028 /progs/egl | |
parent | 3ea5a95078bddaed66e3c9412b4b0c4685bc9ec7 (diff) | |
download | external_mesa3d-8a29e3f8e8e1f05e54959063928a93d7a5eef0f0.zip external_mesa3d-8a29e3f8e8e1f05e54959063928a93d7a5eef0f0.tar.gz external_mesa3d-8a29e3f8e8e1f05e54959063928a93d7a5eef0f0.tar.bz2 |
progs/egl: Silence uninitialized variable warnings.
Diffstat (limited to 'progs/egl')
-rw-r--r-- | progs/egl/eglgears.c | 3 | ||||
-rw-r--r-- | progs/egl/eglscreen.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/progs/egl/eglgears.c b/progs/egl/eglgears.c index 052d0f9..2d9b8ca 100644 --- a/progs/egl/eglgears.c +++ b/progs/egl/eglgears.c @@ -374,7 +374,8 @@ main(int argc, char *argv[]) EGLint screenAttribs[10]; EGLModeMESA mode[MAX_MODES]; EGLScreenMESA screen; - EGLint count, chosenMode; + EGLint count; + EGLint chosenMode = 0; GLboolean printInfo = GL_FALSE; EGLint width = 0, height = 0; diff --git a/progs/egl/eglscreen.c b/progs/egl/eglscreen.c index 47b3ce3..520f76e 100644 --- a/progs/egl/eglscreen.c +++ b/progs/egl/eglscreen.c @@ -52,7 +52,8 @@ main(int argc, char *argv[]) EGLint screenAttribs[10]; EGLModeMESA mode[MAX_MODES]; EGLScreenMESA screen; - EGLint count, chosenMode; + EGLint count; + EGLint chosenMode = 0; EGLint width = 0, height = 0; d = eglGetDisplay(EGL_DEFAULT_DISPLAY); |