From: Ian Romanick <ian.d.roman...@intel.com> 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: Ian Romanick <ian.d.roman...@intel.com> Cc: Maciej Wieczorek <maciej.t.wieczo...@intel.com> --- src/glx/glxext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glx/glxext.c b/src/glx/glxext.c index e55c1c1..ef1e7ad 100644 --- a/src/glx/glxext.c +++ b/src/glx/glxext.c @@ -374,6 +374,8 @@ __glXInitializeVisualConfigFromTags(struct glx_config * config, int count, #endif } + config->sRGBCapable = GL_FALSE; + /* ** Additional properties may be in a list at the end ** of the reply. They are in pairs of property type -- 1.7.11.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev