if(tnl->render_inputs & _TNL_BIT_COLOR0)
output_vector(VB->ColorPtr[0], i);
if(tnl->render_inputs & _TNL_BIT_COLOR1)
- output_vector(VB->ColorPtr[1], i);
+ output_vector(VB->SecondaryColorPtr[0], i);
if(tnl->render_inputs & _TNL_BIT_FOG)
output_vector(VB->FogCoordPtr, i);
if(tnl->render_inputs & _TNL_BIT_COLOR0)
CONFIGURE_AOS(VB->ColorPtr[0], 0, i_color[0], AOS_FORMAT_FLOAT_COLOR);
if(tnl->render_inputs & _TNL_BIT_COLOR1)
- CONFIGURE_AOS(VB->ColorPtr[1], 0, i_color[1], AOS_FORMAT_FLOAT_COLOR);
+ CONFIGURE_AOS(VB->SecondaryColorPtr[0], 0, i_color[1], AOS_FORMAT_FLOAT_COLOR);
if(tnl->render_inputs & _TNL_BIT_FOG)
CONFIGURE_AOS(VB->FogCoordPtr, 0, i_fog, AOS_FORMAT_FLOAT);
} while (ret && errno == EAGAIN);
UNLOCK_HARDWARE(&rmesa->radeon);
-
+
if (ret) {
fprintf(stderr, "DRM_RADEON_TEXTURE: return = %d\n", ret);
fprintf(stderr, " offset=0x%08x\n", offset);