mojoshader_opengl.c
changeset 1069 12e1db42bf75
parent 1067 e6397ec11bc9
child 1070 32eb4fe78351
equal deleted inserted replaced
1068:89f0be59ad5d 1069:12e1db42bf75
  1679         {
  1679         {
  1680             if (want)
  1680             if (want)
  1681                 ctx->glEnableVertexAttribArray(i);
  1681                 ctx->glEnableVertexAttribArray(i);
  1682             else
  1682             else
  1683                 ctx->glDisableVertexAttribArray(i);
  1683                 ctx->glDisableVertexAttribArray(i);
  1684             ctx->have_attr[i] = ctx->want_attr[i];
  1684             ctx->have_attr[i] = want;
  1685         } // if
  1685         } // if
  1686 
  1686 
  1687         if (want)
  1687         if (want)
  1688             highest_enabled = i + 1;
  1688             highest_enabled = i + 1;
  1689     } // for
  1689     } // for