diff options
author | Dave Airlie <[email protected]> | 2009-07-12 21:35:59 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-07-12 21:37:47 +1000 |
commit | f030e2ba17a3b859d30017cfd990552d3af4bad3 (patch) | |
tree | 6fa500ffcc1de11142ee14f89fdfc1cf67556f3e | |
parent | dfecf217fa0d7677bdd3445e32a7bb0d022a599b (diff) |
r300: move fallback warnings inside fallback debugging
random output is bad
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c index 36c5ca74abb..08d67b73edc 100644 --- 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; |