projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aedbf05
)
mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps.
author
Vinson Lee
<vlee@vmware.com>
Thu, 23 Dec 2010 19:32:16 +0000
(11:32 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 23 Dec 2010 19:32:16 +0000
(11:32 -0800)
According to the comment, the warning should be for debug builds.
src/mesa/main/formats.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/formats.c
b/src/mesa/main/formats.c
index 08efde53ecadacec3db83c0ab305f80b545ff809..fcc8526c4047f0059953eefe4f07e18a031b08d6 100644
(file)
--- 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 */
-#if
n
def DEBUG
+#ifdef DEBUG
default:
#endif
_mesa_problem(NULL, "bad format %s in _mesa_format_to_type_and_comps",