summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/prog_statevars.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-09-05 12:25:50 +0200
committerMichal Krol <[email protected]>2008-09-05 12:25:50 +0200
commitce3cf63251b9d0de1de066f71d0c642360215f13 (patch)
treef112adb268f618b6e656f1d75b4249a145617981 /src/mesa/shader/prog_statevars.c
parentb8a7eef242f6bb97d90f6e0303d270b2cbc58421 (diff)
mesa: _mesa_program_state_string() returns char *, not const char *.
Diffstat (limited to 'src/mesa/shader/prog_statevars.c')
-rw-r--r--src/mesa/shader/prog_statevars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c
index 819db25a001..8acf37c3c08 100644
--- a/src/mesa/shader/prog_statevars.c
+++ b/src/mesa/shader/prog_statevars.c
@@ -767,7 +767,7 @@ append_index(char *dst, GLint index)
* For example, return "state.matrix.texture[2].inverse".
* Use _mesa_free() to deallocate the string.
*/
-const char *
+char *
_mesa_program_state_string(const gl_state_index state[STATE_LENGTH])
{
char str[1000] = "";