mesa: rewrite/consolidate code in _mesa_test_texobj_completeness()
authorBrian Paul <brianp@vmware.com>
Sat, 17 Mar 2012 22:30:03 +0000 (16:30 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Mar 2012 14:23:32 +0000 (08:23 -0600)
commitd335e69b9ab8b3068dc402e22e49483f9caab1df
tree93b8cb4adfca022cec5a85b1f663d7a02d54b040
parente86d0dea8ec72ad8a93b814d99cdafa021ce8a73
mesa: rewrite/consolidate code in _mesa_test_texobj_completeness()

Merge the mipmap level checking code that was separate cases for 1D,
2D, 3D and CUBE before.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/texobj.c