mesa: fix state validation bug for glCopyTex[Sub]Image()
authorBrian Paul <brianp@vmware.com>
Sat, 2 May 2009 00:04:07 +0000 (18:04 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 2 May 2009 00:04:07 +0000 (18:04 -0600)
commit63f01309801c5a900d8d7f5ccd63413e33ff9bff
tree7fe49cfe110c65ebf1bc257f1fb316eb4fbefc3d
parent36edcebb9012f530a9288956a7fd3b21f9bb8aed
mesa: fix state validation bug for glCopyTex[Sub]Image()

We need to make sure the framebuffer state is up to date to make sure we
read pixels from the right buffer when doing a texture image copy.
src/mesa/main/teximage.c