meta: Don't do sRGB encode for framebuffer blits on sRGB-enabled framebuffers.
authorEric Anholt <eric@anholt.net>
Wed, 1 Jun 2011 20:15:28 +0000 (13:15 -0700)
committerEric Anholt <eric@anholt.net>
Sun, 5 Jun 2011 18:29:00 +0000 (11:29 -0700)
commite8ea8793e3c65f7feef063c6edc7b86bf0e66997
treeabbe969805658ef5e301b22214fd78a3327e52da
parenta513bee2f247d7cf9cd8e9c3d50f2bd48f136776
meta: Don't do sRGB encode for framebuffer blits on sRGB-enabled framebuffers.

Fixes fbo-srgb-blit.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35373
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/common/meta.c