mesa/st: enable GL_EXT_framebuffer_sRGB
authorDave Airlie <airlied@redhat.com>
Sun, 6 Feb 2011 09:01:58 +0000 (19:01 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Feb 2011 00:14:27 +0000 (10:14 +1000)
commit21b0996dfcbe62c55dd31cc316cd47f2b8531d2e
tree9cb804ac4f5dfed19ff947dfaf89a94b162b3968
parent3b8bb7b449dae6c16df0fa45e6567ec3d6b05dcc
mesa/st: enable GL_EXT_framebuffer_sRGB

If the formats don't match we need to update the surface with the new
format.

if we can render to SRGB formats, enable the extension

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_atom_framebuffer.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_extensions.c