projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70d3928
)
mesa: remove an error check for NV_v_p that doesn't apply to ARB_v_p
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 21 Jul 2008 20:23:33 +0000
(14:23 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 21 Jul 2008 20:23:33 +0000
(14:23 -0600)
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index a4ef948b58eb100b26320e5dbb60be44d5ed98e7..a6aa9c34b25337049b57f5da99fb0e54af22e1b7 100644
(file)
--- 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) {