mesa: Replace open-coded _mesa_lookup_enum_by_nr().
authorEric Anholt <eric@anholt.net>
Fri, 22 Feb 2013 22:47:15 +0000 (14:47 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 5 Mar 2013 22:24:59 +0000 (14:24 -0800)
commitc42148d16e6208c2eb2421f2ebcf823c91b670de
tree1fa07b33cf085928aa80e01c559d3a48316c08a6
parente022461c6435bb3f8c003ea4e5fd0b09cd91100c
mesa: Replace open-coded _mesa_lookup_enum_by_nr().

The new one doesn't have the same behavior for GL_NO_ERROR, but we don't
produce errors with GL_NO_ERROR as the error type.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/errors.c