summaryrefslogtreecommitdiff
path: root/src/mesa/shader/prog_parameter.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2007-11-29 03:08:18 +0100
committerRoland Scheidegger <sroland@tungstengraphics.com>2007-12-11 15:38:33 +0100
commit8dc188485be27dee7a3f2d1cc47527e183d7ee17 (patch)
tree1667d6d268061933ee61294f64d5352081b7120a /src/mesa/shader/prog_parameter.c
parentffee86f69711e96c5a9ae68376aaf8a044c73dc8 (diff)
make sure state token values are fully initialized
Diffstat (limited to 'src/mesa/shader/prog_parameter.c')
-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 9e3d3fecf2..46d30872e4 100644
--- a/src/mesa/shader/prog_parameter.c
+++ b/src/mesa/shader/prog_parameter.c
@@ -384,7 +384,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