Extremely minor tweak.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 28 Nov 2011 07:41:31 -0500
changeset 1069 12e1db42bf75
parent 1068 89f0be59ad5d
child 1070 32eb4fe78351
Extremely minor tweak.
mojoshader_opengl.c
--- 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)