projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfecf21
)
r300: move fallback warnings inside fallback debugging
author
Dave Airlie
<airlied@redhat.com>
Sun, 12 Jul 2009 11:35:59 +0000
(21:35 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 12 Jul 2009 11:37:47 +0000
(21:37 +1000)
random output is bad
src/mesa/drivers/dri/r300/r300_render.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_render.c
b/src/mesa/drivers/dri/r300/r300_render.c
index
36c5ca7
..
08d67b7
100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_render.c
+++ b/
src/mesa/drivers/dri/r300/r300_render.c
@@
-452,7
+452,8
@@
void r300SwitchFallback(GLcontext *ctx, uint32_t bit, GLboolean mode)
if (mode) {
if ((fallback_warn & bit) == 0) {
- _mesa_fprintf(stderr, "WARNING! Falling back to software for %s\n", getFallbackString(bit));
+ if (RADEON_DEBUG & DEBUG_FALLBACKS)
+ _mesa_fprintf(stderr, "WARNING! Falling back to software for %s\n", getFallbackString(bit));
fallback_warn |= bit;
}
rmesa->fallback |= bit;