diff options
author | Vinson Lee <[email protected]> | 2010-12-23 11:32:16 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-12-23 11:32:16 -0800 |
commit | 280750c5cabfc5f312c3abe0424f57b2edeb53df (patch) | |
tree | 6dd988511e688d329e356947d526cc8c00b07509 /src/mesa | |
parent | aedbf05d31c1a8d7d3c2742524abf2db2422b2fe (diff) |
mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps.
According to the comment, the warning should be for debug builds.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 08efde53eca..fcc8526c404 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", |