From: Vladimir Dergachev Date: Thu, 13 Jan 2005 09:08:58 +0000 (+0000) Subject: Prevent "disabling 3D acceleration" message from printing - we do not define raster... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4330fc3223c9809042b3102b3e1551ca58dd404;p=mesa.git Prevent "disabling 3D acceleration" message from printing - we do not define raster functions anyway. --- 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); }