Make immediate code do a LOAD_VBPNTR again
authorBen Skeggs <darktama@iinet.net.au>
Thu, 17 Feb 2005 12:37:40 +0000 (12:37 +0000)
committerBen Skeggs <darktama@iinet.net.au>
Thu, 17 Feb 2005 12:37:40 +0000 (12:37 +0000)
src/mesa/drivers/dri/r300/r300_render.c

index 4e90ea2..ff20da3 100644 (file)
@@ -492,6 +492,8 @@ static GLboolean r300_run_immediate_render(GLcontext *ctx,
 
 /* Why do we need this for immediate mode?? Vertex processor needs it to know proper regs */
 //     r300EmitLOAD_VBPNTR(rmesa, 0);
+/* Okay, it seems I misunderstood something, EmitAOS does the same thing */
+       r300EmitAOS(rmesa, 0);
 
    for(i=0; i < VB->PrimitiveCount; i++){
        GLuint prim = VB->Primitive[i].mode;