mesa: Use _mesa_lookup_enum_by_nr in tex*_error_check
authorMatt Turner <mattst88@gmail.com>
Fri, 30 Nov 2012 19:10:20 +0000 (11:10 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 11 Jan 2013 19:45:10 +0000 (11:45 -0800)
commit93d5fe14789a1b29ac65ec0afaf61a937d26394b
tree11cd582f1d3c8313d1b3c09a519da38da64f00db
parent42ed81a7c3eec215a543c47239cc30536f284ada
mesa: Use _mesa_lookup_enum_by_nr in tex*_error_check

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/teximage.c