summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/shader_api.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-22 11:54:22 -0600
committerBrian Paul <[email protected]>2008-07-22 11:54:22 -0600
commite4139657e0ac40febef1f5e229317aa58b032261 (patch)
tree7ed24c9dbfd8fcab273868371699342308efc906 /src/mesa/shader/shader_api.c
parent51d219dbfe6852d348755574184639940af444e3 (diff)
mesa: remove stray debug assertion
Diffstat (limited to 'src/mesa/shader/shader_api.c')
-rw-r--r--src/mesa/shader/shader_api.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/shader/shader_api.c b/src/mesa/shader/shader_api.c
index 99bcc0aeb42..bd3745cfe60 100644
--- a/src/mesa/shader/shader_api.c
+++ b/src/mesa/shader/shader_api.c
@@ -538,7 +538,6 @@ _mesa_bind_attrib_location(GLcontext *ctx, GLuint program, GLuint index,
if (shProg->LinkStatus) {
/* get current index/location for the attribute */
oldIndex = _mesa_get_attrib_location(ctx, program, name);
- assert(0);
}
else {
oldIndex = -1;