summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-27 15:54:44 -0600
committerBrian <[email protected]>2008-03-27 15:54:44 -0600
commit4adee848a6ce6cdf9873aa29d284db640c8ab606 (patch)
tree95ee28e1dbf520ba9b0db4f4e92d4fd6f3e46b69 /src/mesa/shader
parenta072094bf01fbdac255fd6ffa3e0100f6fc7cb6d (diff)
Fix the compile of disabled DEBUG_PARSING code.
cherry-picked from master
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/prog_parameter.c2
1 files changed, 1 insertions, 1 deletions
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