Check root visual also when trying to find non-db config.

svn path=/branches/work/kwin_composite/; revision=603055
This commit is contained in:
Luboš Luňák 2006-11-07 17:27:58 +00:00
parent e17138c20b
commit 5b7ef47746

View file

@ -235,7 +235,7 @@ void SceneOpenGL::initBuffer()
root_db = true;
else
{
if( findConfig( root_buffer_attrs, fbcroot ))
if( findConfig( root_buffer_attrs, fbcroot, XVisualIDFromVisual( attrs.visual )))
root_db = false;
else
assert( false );