mesa: move glTexImage 'level' error checking
authorBrian Paul <brianp@vmware.com>
Sat, 15 Sep 2012 16:30:20 +0000 (10:30 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Sep 2012 01:49:26 +0000 (19:49 -0600)
commitb1874ec931466ce2174f6663d4a8f0595cee933a
tree9185b82f5718afd833d31d91bc6bad537d23750d
parent35f16600b31b95b95338b0142c778a2dede7659c
mesa: move glTexImage 'level' error checking

Move level checking out of _mesa_test_proxy_teximage() and into
the other error-checking functions.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/main/teximage.c