? .render2.c.swp ? .render2swap.c.swp Index: render2swap.c =================================================================== RCS file: /cvs/xorg/xserver/xorg/GL/glx/render2swap.c,v retrieving revision 1.4 diff -u -r1.4 render2swap.c --- render2swap.c 28 Sep 2005 03:37:22 -0000 1.4 +++ render2swap.c 20 Feb 2006 19:52:35 -0000 @@ -342,6 +342,10 @@ GLint numVals = compHeader[i].numVals; GLenum component = compHeader[i].component; + __GLX_SWAP_INT(&datatype); + __GLX_SWAP_INT(&numVals); + __GLX_SWAP_INT(&component); + swapArray(numVals, datatype, stride, numVertexes, pc); switch (component) { @@ -369,6 +373,14 @@ glEnableClientState(GL_EDGE_FLAG_ARRAY); glEdgeFlagPointer(stride, (const GLboolean *)pc); break; + case GL_SECONDARY_COLOR_ARRAY: + glEnableClientState(GL_SECONDARY_COLOR_ARRAY); + glSecondaryColorPointer(numVals, datatype, stride, pc); + break; + case GL_FOG_COORD_ARRAY: + glEnableClientState(GL_FOG_COORD_ARRAY); + glFogCoordPointer(datatype, stride, pc); + break; default: break; } @@ -385,6 +397,8 @@ glDisableClientState(GL_INDEX_ARRAY); glDisableClientState(GL_TEXTURE_COORD_ARRAY); glDisableClientState(GL_EDGE_FLAG_ARRAY); + glDisableClientState(GL_SECONDARY_COLOR_ARRAY); + glDisableClientState(GL_FOG_COORD_ARRAY); } void __glXDispSwap_DrawArraysEXT(GLbyte *pc)