mesa: refactor _mesa_test_proxy_teximage() code
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)
commitce2ae3c3a2e4bef78047a28723f2d06264d6e4b6
tree642a0e91e44e44ea3b55d3321b68c9d13a76d745
parentb1874ec931466ce2174f6663d4a8f0595cee933a
mesa: refactor _mesa_test_proxy_teximage() code

Basically, move the body into a new _mesa_legal_texture_dimensions() function.
More refactoring to come.

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