init it with something. Even though it looks like it should

rather continue? (CID 3919)

svn path=/trunk/KDE/kdebase/workspace/; revision=688152
This commit is contained in:
Stephan Kulow 2007-07-15 08:13:04 +00:00
parent 6ea0340fb7
commit 19d0dab807

View file

@ -505,7 +505,7 @@ bool SceneOpenGL::initDrawableConfigs()
GLX_DEPTH_SIZE, &depth_value ); GLX_DEPTH_SIZE, &depth_value );
if( depth_value > depth ) if( depth_value > depth )
continue; continue;
int mipmap_value; int mipmap_value = -1;
if( tfp_mode && GLTexture::framebufferObjectSupported()) if( tfp_mode && GLTexture::framebufferObjectSupported())
{ {
glXGetFBConfigAttrib( display(), fbconfigs[ j ], glXGetFBConfigAttrib( display(), fbconfigs[ j ],