void GLAPIENTRY
_mesa_EdgeFlagPointer(GLsizei stride, const GLvoid *ptr)
{
- const GLbitfield legalTypes = BOOL_BIT;
+ const GLbitfield legalTypes = UNSIGNED_BYTE_BIT;
/* see table 2.4 edits in GL_EXT_gpu_shader4 spec: */
const GLboolean integer = GL_TRUE;
GET_CURRENT_CONTEXT(ctx);
update_array(ctx, "glEdgeFlagPointer",
&ctx->Array.ArrayObj->EdgeFlag, _NEW_ARRAY_EDGEFLAG,
legalTypes, 1, 1,
- 1, GL_BOOL, stride, GL_FALSE, integer, ptr);
+ 1, GL_UNSIGNED_BYTE, stride, GL_FALSE, integer, ptr);
}