mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 08:58:16 +02:00
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:
parent
aedbf05d31
commit
280750c5ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue