Given that Plasma and KRunner now (again, and maybe again not ultimately,

but whatever) default to ARGB visual if available, it's better to turn off
compositing if no GLX visual is found for depth 32.
CCBUG: 152595


svn path=/trunk/KDE/kdebase/workspace/; revision=739261
This commit is contained in:
Luboš Luňák 2007-11-20 19:04:08 +00:00
parent c1ed1edb52
commit ff2d52e933

View file

@ -550,6 +550,11 @@ bool SceneOpenGL::initDrawableConfigs()
kDebug( 1212 ) << "Couldn't find framebuffer configuration for default depth!"; kDebug( 1212 ) << "Couldn't find framebuffer configuration for default depth!";
return false; return false;
} }
if( fbcdrawableinfo[ 32 ].fbconfig == NULL )
{
kDebug( 1212 ) << "Couldn't find framebuffer configuration for depth 32!";
return false;
}
return true; return true;
} }