Fixup one place where attrsz was being used instead of active_sz
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 25 Sep 2006 09:12:25 +0000 (09:12 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 25 Sep 2006 09:12:25 +0000 (09:12 +0000)
src/mesa/drivers/dri/i965/brw_exec_api.c

index ca012dbcd8a04f16c2327cf8a0813c894684099a..470fa6f4177be4f9f12884abb22afc1fe70dbc84 100644 (file)
@@ -394,7 +394,7 @@ static void GLAPIENTRY brw_exec_EvalCoord1f( GLfloat u )
 
       for (i = 0 ; i <= BRW_ATTRIB_INDEX ; i++) {
         if (exec->eval.map1[i].map) 
-           if (exec->vtx.attrsz[i] != exec->eval.map1[i].sz)
+           if (exec->vtx.active_sz[i] != exec->eval.map1[i].sz)
               brw_exec_fixup_vertex( ctx, i, exec->eval.map1[i].sz );
       }
    }