glx: add missing sRGB attribute check in fbconfigs_compatible()
authorNeha Bhende <bhenden@vmware.com>
Wed, 26 Apr 2017 23:21:32 +0000 (16:21 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 29 Apr 2017 03:03:06 +0000 (21:03 -0600)
commit6e06e281c6ee342276d087ed4ee4a442626e433a
tree922d5db1d38009cf8b11f3d37e2824a5ca10a0cc
parentca59fd17061aeffc55847755de1ed2b6600bcf84
glx: add missing sRGB attribute check in fbconfigs_compatible()

This patch will allow driver to choose srgb capable FBconfig
if GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB attribute is 1

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/glx/glxcmds.c