From 209e44cad26d579d4a5cf03c5974dcaa3ff612fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Tue, 11 Jun 2013 19:54:15 +0200 Subject: [PATCH] kwin/glx: Relax the GLX_CONFIG_CAVEAT requirement Allow drawable configs with caveats. The ARGB32 visual is marked as non-conformant in the Catalyst driver. BUG: 317972 --- glxbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glxbackend.cpp b/glxbackend.cpp index 17df69908b..4325f8ed5e 100644 --- a/glxbackend.cpp +++ b/glxbackend.cpp @@ -276,7 +276,7 @@ bool GlxBackend::initDrawableConfigs() GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT | GLX_PIXMAP_BIT, GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR, GLX_X_RENDERABLE, True, - GLX_CONFIG_CAVEAT, GLX_NONE, + GLX_CONFIG_CAVEAT, int(GLX_DONT_CARE), // The ARGB32 visual is marked non-conformant in Catalyst GLX_RED_SIZE, 5, GLX_GREEN_SIZE, 5, GLX_BLUE_SIZE, 5,