From 1bf901cfbf895c8946e76945fcd9cac09b9291ef Mon Sep 17 00:00:00 2001 From: Alexander Volkov Date: Tue, 10 Aug 2021 12:49:14 +0300 Subject: [PATCH] Use c++ version of True to make sure it will compile kwin fails to build for me because of missing 'True'. Besides, 'true' is used in other places. --- src/plugins/platforms/x11/standalone/glxbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/x11/standalone/glxbackend.cpp b/src/plugins/platforms/x11/standalone/glxbackend.cpp index 1f7a57d40a..5254dd5be4 100644 --- a/src/plugins/platforms/x11/standalone/glxbackend.cpp +++ b/src/plugins/platforms/x11/standalone/glxbackend.cpp @@ -577,7 +577,7 @@ FBConfigInfo *GlxBackend::infoForVisual(xcb_visualid_t visual) GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_DRAWABLE_TYPE, GLX_WINDOW_BIT | GLX_PIXMAP_BIT, GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR, - GLX_X_RENDERABLE, True, + GLX_X_RENDERABLE, true, GLX_CONFIG_CAVEAT, int(GLX_DONT_CARE), // The ARGB32 visual is marked non-conformant in Catalyst GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT, int(GLX_DONT_CARE), // The ARGB32 visual is marked sRGB capable in mesa/i965 GLX_BUFFER_SIZE, red_bits + green_bits + blue_bits + alpha_bits,