mojoshader_opengl.c
changeset 1069 12e1db42bf75
parent 1067 e6397ec11bc9
child 1070 32eb4fe78351
--- 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)