Search
lxdream.org :: lxdream/src/pvr2/glrender.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glrender.c
changeset 666:ea369bcf6def
prev665:99ae9dc4cab7
next669:ab344e42bca9
author nkeynes
date Sat Apr 19 02:30:04 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Change secondary colour to 3-components - makes osx happy and is probably more correct anyway
file annotate diff log raw
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.3 @@ -269,7 +269,7 @@
1.4
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.9
1.10 uint32_t bgplane_mode = MMIO_READ(PVR2, RENDER_BGPLANE);
1.11 uint32_t *bgplane = pvr2_scene.pvr2_pbuf + (((bgplane_mode & 0x00FFFFFF)) >> 3) ;
.