update comments
authorBrian <brian@yutani.localnet.net>
Thu, 8 Mar 2007 00:37:24 +0000 (17:37 -0700)
committerBrian <brian@yutani.localnet.net>
Thu, 8 Mar 2007 00:37:24 +0000 (17:37 -0700)
src/mesa/shader/prog_statevars.c

index 8b4903ea01266a41df7cacf13e318b14e215541c..953fbb9b9f78fd932fe78c5aef3cf708d8fc79d5 100644 (file)
@@ -278,14 +278,12 @@ _mesa_fetch_state(GLcontext *ctx, const gl_state_index state[],
    case STATE_MVP_MATRIX:
    case STATE_TEXTURE_MATRIX:
    case STATE_PROGRAM_MATRIX:
-      /*case STATE_MATRIX:*/
       {
-         /* state[1] = modelview, projection, texture, etc. */
-         /* state[2] = which texture matrix or program matrix */
-         /* state[3] = first row to fetch */
-         /* state[4] = last row to fetch */
-         /* state[5] = transpose, inverse or invtrans */
-
+         /* state[0] = modelview, projection, texture, etc. */
+         /* state[1] = which texture matrix or program matrix */
+         /* state[2] = first row to fetch */
+         /* state[3] = last row to fetch */
+         /* state[4] = transpose, inverse or invtrans */
          const GLmatrix *matrix;
          const gl_state_index mat = state[0];
          const GLuint index = (GLuint) state[1];