mesa: call _mesa_valid_to_render() in glDrawPixels, glCopyPixels, glBitmap
authorBrian Paul <brianp@vmware.com>
Wed, 27 Oct 2010 00:01:50 +0000 (18:01 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 27 Oct 2010 00:05:37 +0000 (18:05 -0600)
commitccef2110edbcc418abebabecc42ee3d9c0e5ab7a
tree23be893a9a1cefcf1e843e72744e5cb2dd28d7cd
parent705978e2831eb8b8bb23bd11ee08ce51d9b2915c
mesa: call _mesa_valid_to_render() in glDrawPixels, glCopyPixels, glBitmap

This lets us simplify and consolidate some state checking code.

This implements the GL_INVALID_OPERATION check for all drawing commands
required by GL_EXT_texture_integer.
src/mesa/main/drawpix.c