From ff2d52e933895b703099cf276458dac07e4614a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 20 Nov 2007 19:04:08 +0000 Subject: [PATCH] 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 --- scene_opengl.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 239fd26552..ab4d604c37 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -550,6 +550,11 @@ bool SceneOpenGL::initDrawableConfigs() kDebug( 1212 ) << "Couldn't find framebuffer configuration for default depth!"; return false; } + if( fbcdrawableinfo[ 32 ].fbconfig == NULL ) + { + kDebug( 1212 ) << "Couldn't find framebuffer configuration for depth 32!"; + return false; + } return true; }