Merge branch 'Plasma/5.11'

This commit is contained in:
Martin Flöser 2017-11-20 18:13:35 +01:00
commit 45ac8eed34

View file

@ -539,6 +539,7 @@ FBConfigInfo *GlxBackend::infoForVisual(xcb_visualid_t visual)
GLX_X_VISUAL_TYPE, GLX_TRUE_COLOR,
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,
GLX_RED_SIZE, red_bits,
GLX_GREEN_SIZE, green_bits,