summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-21 14:23:33 -0600
committerBrian Paul <[email protected]>2008-07-21 14:23:33 -0600
commit7e8f79e39dfb4ba0072e9d34e7fba958e3710f5b (patch)
treeb5d5ffbe861059d56391f5e9ce8f872e3e77e5eb /src
parent70d3928f6366c94b147d768d55eaa7d1f45462bd (diff)
mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p
Diffstat (limited to 'src')
-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 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) {