diff options
Diffstat (limited to 'GL/glx/rensize.c')
-rw-r--r-- | GL/glx/rensize.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/GL/glx/rensize.c b/GL/glx/rensize.c index 95a10e2e2..519c6a90e 100644 --- a/GL/glx/rensize.c +++ b/GL/glx/rensize.c @@ -551,12 +551,14 @@ int __glXDrawArraysSize( GLbyte *pc, Bool swap ) case GL_COLOR_ARRAY: case GL_TEXTURE_COORD_ARRAY: break; + case GL_SECONDARY_COLOR_ARRAY: case GL_NORMAL_ARRAY: if (numVals != 3) { /* bad size */ return -1; } break; + case GL_FOG_COORD_ARRAY: case GL_INDEX_ARRAY: if (numVals != 1) { /* bad size */ @@ -918,3 +920,9 @@ int __glXPointParameterfvARBReqSize(GLbyte *pc, Bool swap ) } return 4 * __glPointParameterfvARB_size( pname ); } + +int __glXPointParameterivReqSize(GLbyte *pc, Bool swap ) +{ + /* no difference between fv and iv versions */ + return __glXPointParameterfvARBReqSize(pc, swap); +} |