revision 666:ea369bcf6def
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 666:ea369bcf6def |
parent | 665:99ae9dc4cab7 |
child | 667:0e1ac8da75d9 |
author | nkeynes |
date | Sat Apr 19 02:30:04 2008 +0000 (16 years ago) |
Change secondary colour to 3-components - makes osx happy and is probably more correct anyway
1.1 --- a/src/pvr2/glrender.c Sat Apr 19 00:36:36 2008 +00001.2 +++ b/src/pvr2/glrender.c Sat Apr 19 02:30:04 2008 +00001.3 @@ -269,7 +269,7 @@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) ;
.