mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps.

According to the comment, the warning should be for debug builds.
This commit is contained in:
Vinson Lee 2010-12-23 11:32:16 -08:00
parent aedbf05d31
commit 280750c5ca

View file

@ -1534,7 +1534,7 @@ _mesa_format_to_type_and_comps(gl_format format,
case MESA_FORMAT_NONE:
case MESA_FORMAT_COUNT:
/* For debug builds, warn if any formats are not handled */
#ifndef DEBUG
#ifdef DEBUG
default:
#endif
_mesa_problem(NULL, "bad format %s in _mesa_format_to_type_and_comps",