Module: Mesa Branch: master Commit: 280750c5cabfc5f312c3abe0424f57b2edeb53df URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=280750c5cabfc5f312c3abe0424f57b2edeb53df
Author: Vinson Lee <[email protected]> Date: Thu Dec 23 11:32:16 2010 -0800 mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps. According to the comment, the warning should be for debug builds. --- src/mesa/main/formats.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index 08efde5..fcc8526 100644 --- a/src/mesa/main/formats.c +++ b/src/mesa/main/formats.c @@ -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", _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
