summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Dergachev <[email protected]>2005-01-13 09:08:58 +0000
committerVladimir Dergachev <[email protected]>2005-01-13 09:08:58 +0000
commitd4330fc3223c9809042b3102b3e1551ca58dd404 (patch)
tree948607f1d9c37653834860c2284df3e0ce170290
parentd456ef48e5e23bc8c9d90bfe80f781eafe65eb39 (diff)
Prevent "disabling 3D acceleration" message from printing - we do not define raster functions anyway.
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c
index 88a67ce57c0..717b71c4351 100644
--- a/src/mesa/drivers/dri/r300/r300_context.c
+++ b/src/mesa/drivers/dri/r300/r300_context.c
@@ -275,8 +275,7 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual,
TNL_CONTEXT(ctx)->Driver.RunPipeline = _tnl_run_pipeline;
tcl_mode = driQueryOptioni(&r300->radeon.optionCache, "tcl_mode");
- if (1 ||
- driQueryOptionb(&r300->radeon.optionCache, "no_rast")) {
+ if (driQueryOptionb(&r300->radeon.optionCache, "no_rast")) {
fprintf(stderr, "disabling 3D acceleration\n");
FALLBACK(&r300->radeon, RADEON_FALLBACK_DISABLE, 1);
}