mesa: Fix glPopAttrib() behavior on GL_FRAMEBUFFER_SRGB.
authorEric Anholt <eric@anholt.net>
Wed, 1 Aug 2012 19:38:56 +0000 (12:38 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 8 Aug 2012 23:21:30 +0000 (16:21 -0700)
commit4bbd12036819ed6a2d0993c437e0c02bf0c92b0b
tree64441e23a5b54a2dbadfbc0d8efc7ef880e38e45
parent9f7b3d171306ed2ae588e1a4145c5a364cf986ff
mesa: Fix glPopAttrib() behavior on GL_FRAMEBUFFER_SRGB.

I happened to notice this while looking at a blit pass in l4d2, which had an
optional push/pop around framebuffer srgb setting.  It didn't matter in the
end, but the fix is sitting in my tree now.

Reviewed-by: Brian Paul <brianp@vmware.com>
NOTE: This is a candidate for the 8.0 branch.
src/mesa/main/attrib.c