summaryrefslogtreecommitdiff
path: root/src/mesa/main/varray.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-07-21 14:23:33 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-07-29 17:16:50 -0600
commitbe50c481016ea9d01f97812ead5042618c05b37f (patch)
tree4ca5d34922464c2b7a0407c7bcb1f4d6408116e2 /src/mesa/main/varray.c
parentbc985b5790bcbf2d19b2e42fee0807b1a3c9bc91 (diff)
mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r--src/mesa/main/varray.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index f41ee73c88..22a55ac707 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -523,11 +523,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) {