From: Brian Paul Date: Mon, 21 Jul 2008 20:23:33 +0000 (-0600) Subject: mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e8f79e39dfb4ba0072e9d34e7fba958e3710f5b;p=mesa.git mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p --- diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index a4ef948b58e..a6aa9c34b25 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -583,11 +583,6 @@ _mesa_VertexAttribPointerARB(GLuint index, GLint size, GLenum type, return; } - if (type == GL_UNSIGNED_BYTE && size != 4) { - _mesa_error(ctx, GL_INVALID_VALUE, "glVertexAttribPointerARB(size!=4)"); - return; - } - /* check for valid 'type' and compute StrideB right away */ /* NOTE: more types are supported here than in the NV extension */ switch (type) {