missing link in the fallback chain
authorAapo Tahkola <aet@rasterburn.org>
Fri, 27 Jan 2006 14:09:05 +0000 (14:09 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Fri, 27 Jan 2006 14:09:05 +0000 (14:09 +0000)
src/mesa/drivers/dri/r300/r300_render.c

index 1fa22f7649796403793964eb28a8794980f74d1f..f739b38651b48422874899dd7347b40de1db4856 100644 (file)
@@ -856,6 +856,11 @@ static GLboolean r300_run_tcl_render(GLcontext *ctx,
        if(hw_tcl_on == GL_FALSE)
                return GL_TRUE;
        
+       if (r300Fallback(ctx)) {
+               hw_tcl_on = GL_FALSE;
+               return GL_TRUE;
+       }
+       
        for (i = 0; i < ctx->Const.MaxTextureUnits; i++)
                if (ctx->Texture.Unit[i]._ReallyEnabled & TEXTURE_RECT_BIT) {
                        hw_tcl_on = GL_FALSE;