Commit 7b0f912e authored by Ian Romanick's avatar Ian Romanick
Browse files

glx: Set sRGBCapable to a default value

Previously, if the server didn't send a GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT
tag, it would still be set to GLX_DONT_CARE (which is -1).  Set it to
GL_FALSE instead.

NOTE: This is a candidate for stable release branches.
Signed-off-by: default avatarIan Romanick <>
Reviewed-by: Emma Anholt's avatarEric Anholt <>
Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <>
Cc: Maciej Wieczorek <>
parent 170f0459
......@@ -374,6 +374,8 @@ __glXInitializeVisualConfigFromTags(struct glx_config * config, int count,
config->sRGBCapable = GL_FALSE;
** Additional properties may be in a list at the end
** of the reply. They are in pairs of property type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment