Fix the compile of disabled DEBUG_PARSING code.
authorBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:54:44 +0000 (15:54 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:54:44 +0000 (15:54 -0600)
cherry-picked from master

src/mesa/shader/prog_parameter.c

index bb96427..4eb7313 100644 (file)
@@ -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