glut: Silence uninitialized variable warning.

This commit is contained in:
Vinson Lee 2010-02-14 02:04:17 -08:00
parent 3a299071d4
commit 0a3e362175

View file

@ -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,