diff --git a/scene_opengl.cpp b/scene_opengl.cpp index a9874ca3f2..2d995cb472 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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 );