projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda4349
)
st/mesa: remove leftover printfs from ReadPixels
author
Marek Olšák
<maraeo@gmail.com>
Thu, 28 Mar 2013 13:51:28 +0000
(14:51 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 28 Mar 2013 17:17:21 +0000
(18:17 +0100)
Oops, I thought I had removed all debugging code.
src/mesa/state_tracker/st_cb_readpixels.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_readpixels.c
b/src/mesa/state_tracker/st_cb_readpixels.c
index bfed988701a7e1a2835280b6210ad731ff11194c..9fab113fa768e882f5ad091796c7c94270c09f56 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_readpixels.c
+++ b/
src/mesa/state_tracker/st_cb_readpixels.c
@@
-133,7
+133,6
@@
st_readpixels(struct gl_context *ctx, GLint x, GLint y,
!screen->is_format_supported(screen, src_format, src->target,
src->nr_samples,
PIPE_BIND_SAMPLER_VIEW)) {
- printf("fallback: src format unsupported %s\n", util_format_short_name(src_format));
goto fallback;
}
@@
-147,8
+146,6
@@
st_readpixels(struct gl_context *ctx, GLint x, GLint y,
dst_format = st_choose_matching_format(screen, bind, format, type,
pack->SwapBytes);
if (dst_format == PIPE_FORMAT_NONE) {
- printf("fallback: no matching format for %s, %s\n",
- _mesa_lookup_enum_by_nr(format), _mesa_lookup_enum_by_nr(type));
goto fallback;
}