diff --git a/scene_opengl.cpp b/scene_opengl.cpp index a349bec7a8..80aaad7711 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -505,7 +505,7 @@ bool SceneOpenGL::initDrawableConfigs() GLX_DEPTH_SIZE, &depth_value ); if( depth_value > depth ) continue; - int mipmap_value; + int mipmap_value = -1; if( tfp_mode && GLTexture::framebufferObjectSupported()) { glXGetFBConfigAttrib( display(), fbconfigs[ j ],