mesa: use switch(target) in _mesa_test_texobj_completeness()
authorBrian Paul <brianp@vmware.com>
Sat, 17 Mar 2012 22:30:02 +0000 (16:30 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Mar 2012 14:23:32 +0000 (08:23 -0600)
commit4c385d382f6932d5d88a26dcc9eedf520b3a9ed7
tree5ed62681f72c352061f6d6b5eda8e0c1b202bccc
parentcfd5b14dac6a197be3fa85b5448b45802951aa3d
mesa: use switch(target) in _mesa_test_texobj_completeness()

and add missing case for GL_TEXTURE_BUFFER.

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