Check root visual also when trying to find non-db config.
svn path=/branches/work/kwin_composite/; revision=603055
This commit is contained in:
parent
e17138c20b
commit
5b7ef47746
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue