mesa: clean up validate_texture_wrap_mode
authorChia-I Wu <olv@lunarg.com>
Sat, 22 Oct 2011 11:56:54 +0000 (19:56 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 3 Nov 2011 07:09:45 +0000 (15:09 +0800)
commit79463f18ac91b2b0f1ed6dcdb26f84b942543d80
tree588908c6374fc433357518eb11d90ff728a887b2
parentd8ba30af11f1894fcdd9138a8bc71ff054932bb6
mesa: clean up validate_texture_wrap_mode

GL_TEXTURE_RECTANGLE_NV (and soon GL_TEXTURE_EXTERNAL_OES) is special.  Handle
it in its own if-block.  There should be no functional change.

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Jakob Bornecrantz <jakob@vmware.com>
src/mesa/main/texparam.c