projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0899bf5
)
st/mesa: Silence chatty debug printf
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 23 Oct 2019 01:01:10 +0000
(18:01 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 23 Oct 2019 01:01:41 +0000
(18:01 -0700)
Other debug_printf's in this file are in if (0) blocks.
Trivial.
src/mesa/state_tracker/st_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index a84905942ed9a314aebad5597d8e588a7db78d6b..9ade30de70bb909d17efc54d9a31f64ad71e8d66 100644
(file)
--- a/
src/mesa/state_tracker/st_format.c
+++ b/
src/mesa/state_tracker/st_format.c
@@
-637,8
+637,10
@@
st_mesa_format_to_pipe_format(const struct st_context *st,
return PIPE_FORMAT_ATC_RGBA_INTERPOLATED;
default:
- debug_printf("%s(mesa_format=%s) -> NONE\n",
- __func__, _mesa_get_format_name(mesaFormat));
+ if (0) {
+ debug_printf("%s(mesa_format=%s) -> NONE\n",
+ __func__, _mesa_get_format_name(mesaFormat));
+ }
return PIPE_FORMAT_NONE;
}
}