mesa: do state validation in _mesa_valid_to_render()
authorBrian Paul <brianp@vmware.com>
Fri, 29 Jan 2010 15:38:11 +0000 (08:38 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 29 Jan 2010 15:38:11 +0000 (08:38 -0700)
commita38859569dca1d8b139c4c451499bf6e328379e9
treeb8644ec6f7cddfa2fbd7241c41df0087d944ae6b
parent364b008d183a608cecac938e44e4c19c3c68e84b
mesa: do state validation in _mesa_valid_to_render()

...rather than checking/validating before all the calls to
_mesa_valid_to_render() and valid_to_render().

The next patch will actually fix some bugs...

(cherry picked from commit 23eda89ec89e2bd5bc26077bd56e8d6b5d4040d4)
src/mesa/main/api_validate.c
src/mesa/main/context.c