--- a/mojoshader_opengl.c Tue Nov 15 12:30:17 2011 -0500
+++ b/mojoshader_opengl.c Mon Nov 28 07:41:31 2011 -0500
@@ -1681,7 +1681,7 @@
ctx->glEnableVertexAttribArray(i);
else
ctx->glDisableVertexAttribArray(i);
- ctx->have_attr[i] = ctx->want_attr[i];
+ ctx->have_attr[i] = want;
} // if
if (want)