summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2011-11-29 15:19:28 +0800
committerChia-I Wu <[email protected]>2011-11-29 17:13:01 +0800
commit76ba431b97087e2d5ca0351e0d613f0812fd1425 (patch)
tree42dd10a9e6588c152910c49939201e39e291231b /src/mesa/main/varray.c
parent762c9766c93697af8d7fbaa729aed118789dbe8e (diff)
mesa: distinct gl_client_array arrays are gone
Fix build errors since 762c9766c93697af8d7fbaa729aed118789dbe8e. Acked-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r--src/mesa/main/varray.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index fdcd87721b1..cfb0aa2a0c1 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -341,8 +341,6 @@ _mesa_TexCoordPointer(GLint size, GLenum type, GLsizei stride,
if (ctx->API == API_OPENGLES)
legalTypes |= BYTE_BIT;
- ASSERT(unit < Elements(ctx->Array.ArrayObj->TexCoord));
-
update_array(ctx, "glTexCoordPointer", VERT_ATTRIB_TEX(unit),
legalTypes, 1, 4,
size, type, stride, GL_FALSE, GL_FALSE,