1.1 --- a/src/pvr2/glrender.c Sat Apr 19 00:36:36 2008 +0000
1.2 +++ b/src/pvr2/glrender.c Sat Apr 19 02:30:04 2008 +0000
1.5 /* Setup vertex array pointers */
1.6 glInterleavedArrays(GL_T2F_C4UB_V3F, sizeof(struct vertex_struct), pvr2_scene.vertex_array);
1.7 - glSecondaryColorPointerEXT(4, GL_UNSIGNED_BYTE, sizeof(struct vertex_struct), &pvr2_scene.vertex_array[0].offset_rgba );
1.8 + glSecondaryColorPointerEXT(3, GL_UNSIGNED_BYTE, sizeof(struct vertex_struct), &pvr2_scene.vertex_array[0].offset_rgba );
1.10 uint32_t bgplane_mode = MMIO_READ(PVR2, RENDER_BGPLANE);
1.11 uint32_t *bgplane = pvr2_scene.pvr2_pbuf + (((bgplane_mode & 0x00FFFFFF)) >> 3) ;