From: Brian Paul Date: Fri, 3 Dec 2010 23:40:36 +0000 (-0700) Subject: mesa: remove unneeded cast X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f851e6642a640deda34790c14d178acac1c552e;p=mesa.git mesa: remove unneeded cast --- diff --git a/src/mesa/program/prog_statevars.c b/src/mesa/program/prog_statevars.c index 83bd3727f33..def1fbe1573 100644 --- a/src/mesa/program/prog_statevars.c +++ b/src/mesa/program/prog_statevars.c @@ -1084,7 +1084,7 @@ _mesa_load_state_parameters(struct gl_context *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]); } }