From: Vinson Lee Date: Sun, 14 Feb 2010 10:04:17 +0000 (-0800) Subject: glut: Silence uninitialized variable warning. X-Git-Tag: 062012170305~12852^2~900 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a3e3621752be5b054739ce606cad4f77cb65049;p=profile%2Fivi%2Fmesa.git glut: Silence uninitialized variable warning. --- diff --git a/src/glut/glx/glut_overlay.c b/src/glut/glx/glut_overlay.c index db1abe0..3243465 100644 --- a/src/glut/glx/glut_overlay.c +++ b/src/glut/glx/glut_overlay.c @@ -388,6 +388,7 @@ glutEstablishOverlay(void) if (!overlay->vis) { __glutFatalError("lacks overlay support."); } + overlay->ctx = NULL; #if defined(GLX_VERSION_1_1) && defined(GLX_SGIX_fbconfig) if (fbc) { window->ctx = __glut_glXCreateContextWithConfigSGIX(__glutDisplay, fbc,