From: Brian Date: Thu, 11 Oct 2007 16:33:31 +0000 (-0600) Subject: remove unneeded cast X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f05c76ec1a5d8444c75f059d4e6f7e5bcd8c6644;p=mesa.git remove unneeded cast --- diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c index d37d7fb9bf4..57a9d2dae9d 100644 --- a/src/mesa/shader/prog_statevars.c +++ b/src/mesa/shader/prog_statevars.c @@ -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]); } }