st/mesa: fix st_set_framebuffer_surface() state validation
authorBrian Paul <brianp@vmware.com>
Thu, 11 Mar 2010 20:44:39 +0000 (13:44 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 11 Mar 2010 20:44:53 +0000 (13:44 -0700)
commitc472ce5302a590b45d8affe00c1fcce04f8b8585
tree0d1882d89a9b5f7903f820b1f99ff1d7056ebe2e
parent683a099954bf03b7a8c28183b39ef26563a57bcc
st/mesa: fix st_set_framebuffer_surface() state validation

Set the _NEW_BUFFERS flag and remove the code which updated the
parent framebuffer size.  Normal Mesa state validation will do that.

Fixes issues with Warsow on r300g and possibly other bugs.
src/mesa/state_tracker/st_framebuffer.c