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 4e90ea2152a9b0a99dbb585e3335e849237d97b3..ff20da39d28737c7c96255309a52e0695435bff5 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;