-/* $Id: get.c,v 1.103 2003/01/21 21:47:50 brianp Exp $ */
+/* $Id: get.c,v 1.104 2003/01/22 00:42:45 brianp Exp $ */
/*
* Mesa 3-D graphics library
params[0] = INT_TO_BOOL(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0]);
params[1] = INT_TO_BOOL(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1]);
params[2] = INT_TO_BOOL(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2]);
+ params[3] = INT_TO_BOOL(ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3]);
break;
case GL_SECONDARY_COLOR_ARRAY_EXT:
CHECK_EXTENSION_B(EXT_secondary_color, pname);
params[0] = ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0];
params[1] = ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1];
params[2] = ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2];
+ params[3] = ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3];
break;
case GL_SECONDARY_COLOR_ARRAY_EXT:
CHECK_EXTENSION_D(EXT_secondary_color, pname);
params[0] = ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0];
params[1] = ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1];
params[2] = ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2];
+ params[3] = ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3];
break;
case GL_SECONDARY_COLOR_ARRAY_EXT:
CHECK_EXTENSION_F(EXT_secondary_color, pname);
params[0] = FLOAT_TO_INT( (ctx->Current.Attrib[VERT_ATTRIB_COLOR1][0]) );
params[1] = FLOAT_TO_INT( (ctx->Current.Attrib[VERT_ATTRIB_COLOR1][1]) );
params[2] = FLOAT_TO_INT( (ctx->Current.Attrib[VERT_ATTRIB_COLOR1][2]) );
+ params[3] = FLOAT_TO_INT( (ctx->Current.Attrib[VERT_ATTRIB_COLOR1][3]) );
break;
case GL_SECONDARY_COLOR_ARRAY_EXT:
CHECK_EXTENSION_I(EXT_secondary_color, pname);