mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
DRI trunk-20040613 import
This commit is contained in:
parent
f45c46c630
commit
2e1868b560
32 changed files with 1207 additions and 545 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue