r300: fix non-tcl rs4xx again.
authorDave Airlie <airlied@linux.ie>
Sat, 2 Jun 2007 06:21:50 +0000 (16:21 +1000)
committerDave Airlie <airlied@linux.ie>
Sat, 2 Jun 2007 06:21:50 +0000 (16:21 +1000)
src/mesa/drivers/dri/r300/r300_render.c

index 1e3cc4d5dc4d08278e8a782a9612a040c7b965ee..1aaf43bfafc11a2c11807dc337fe27049f8cf239 100644 (file)
@@ -296,6 +296,8 @@ static GLboolean r300RunRender(GLcontext * ctx,
        if (RADEON_DEBUG & DEBUG_PRIMS)
                fprintf(stderr, "%s\n", __FUNCTION__);
 
+       if (hw_tcl_on == GL_FALSE)
+         vb->AttribPtr[VERT_ATTRIB_POS] = vb->ClipPtr;
        r300UpdateShaders(rmesa);
        if (r300EmitArrays(ctx))
                return GL_TRUE;