diff options
author | Brian <brian@yutani.localnet.net> | 2007-03-07 17:37:24 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-03-07 17:37:24 -0700 |
commit | fb3f0beb42868cef6ee78385164fb9605820c365 (patch) | |
tree | fd05d4619d2b7cd787fb607ca46b36161b4f6c6a /src/mesa/shader/prog_statevars.c | |
parent | 0aec2bb8f218b7e419806149a2c50f598cd07a6a (diff) |
update comments
Diffstat (limited to 'src/mesa/shader/prog_statevars.c')
-rw-r--r-- | src/mesa/shader/prog_statevars.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c index 8b4903ea012..953fbb9b9f7 100644 --- a/src/mesa/shader/prog_statevars.c +++ b/src/mesa/shader/prog_statevars.c @@ -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]; |