From: Brian Date: Thu, 27 Mar 2008 21:54:44 +0000 (-0600) Subject: Fix the compile of disabled DEBUG_PARSING code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4adee848a6ce6cdf9873aa29d284db640c8ab606;p=mesa.git Fix the compile of disabled DEBUG_PARSING code. cherry-picked from master --- diff --git a/src/mesa/shader/prog_parameter.c b/src/mesa/shader/prog_parameter.c index bb964274b95..4eb7313bec1 100644 --- a/src/mesa/shader/prog_parameter.c +++ b/src/mesa/shader/prog_parameter.c @@ -387,7 +387,7 @@ sizeof_state_reference(const GLint *stateTokens) * PARAM ambient = state.material.front.ambient; * * \param paramList the parameter list - * \param state an array of 6 (STATE_LENGTH) state tokens + * \param stateTokens an array of 5 (STATE_LENGTH) state tokens * \return index of the new parameter. */ GLint