Prevent "disabling 3D acceleration" message from printing - we do not define raster...
authorVladimir Dergachev <volodya@freedesktop.org>
Thu, 13 Jan 2005 09:08:58 +0000 (09:08 +0000)
committerVladimir Dergachev <volodya@freedesktop.org>
Thu, 13 Jan 2005 09:08:58 +0000 (09:08 +0000)
src/mesa/drivers/dri/r300/r300_context.c

index 88a67ce57c0b4df19486e24e4afdd76684367b5f..717b71c435165ba719573ec93394dc9c81bee265 100644 (file)
@@ -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);
        }