meta: Make Meta's BlitFramebuffer() follow the GL 4.4 sRGB rules.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 2 Aug 2016 23:32:52 +0000 (16:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Aug 2016 21:04:01 +0000 (14:04 -0700)
commitf6dc71483abb876386824ba97097089cc0b8f454
treefbbf4ee433ede04a14281a038e914a0f48e0e789
parentad32dcf630c387e01f415f98717aad08d20ff9f2
meta: Make Meta's BlitFramebuffer() follow the GL 4.4 sRGB rules.

Just avoid whacking GL_FRAMEBUFFER_SRGB altogether, so we respect
the application's setting.  This appears to work.

v2: Update one more comment (requested by Ian).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/common/meta_blit.c