remove unneeded cast
authorBrian <brian.paul@tungstengraphics.com>
Thu, 11 Oct 2007 16:33:31 +0000 (10:33 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 11 Oct 2007 16:33:31 +0000 (10:33 -0600)
src/mesa/shader/prog_statevars.c

index d37d7fb9bf4d2f45a28eed84c76ff24afef11119..57a9d2dae9d2dd55f18883cdb3ebbe4638b761f3 100644 (file)
@@ -818,7 +818,7 @@ _mesa_load_state_parameters(GLcontext *ctx,
    for (i = 0; i < paramList->NumParameters; i++) {
       if (paramList->Parameters[i].Type == PROGRAM_STATE_VAR) {
          _mesa_fetch_state(ctx, 
-                          (gl_state_index *) paramList->Parameters[i].StateIndexes,
+                          paramList->Parameters[i].StateIndexes,
                            paramList->ParameterValues[i]);
       }
    }