summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-22 11:54:22 -0600
committerBrian Paul <[email protected]>2008-07-29 17:20:06 -0600
commita9412ca2e89030897cd45747b70ebab6840c46b7 (patch)
treeb87742a04148a8faef205dabcfc8e91ad9c2c8f1 /src/mesa/shader
parentb36749d066bcba848d08937090492c33a277851d (diff)
mesa: remove stray debug assertion
Diffstat (limited to 'src/mesa/shader')
-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 cbb90fa2445..5a15ec9dc03 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;