summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-28 13:50:41 -0700
committerBrian Paul <[email protected]>2008-11-28 13:50:41 -0700
commitec17001cd4e17240039b9b96083ef9b831720107 (patch)
tree258abbf4d77d481c0377cafbad42b6b2620a1d13 /src/mesa
parentc303e7299b5f95d4728c3710c56f50b1fefca09d (diff)
mesa: fix default switch case in append_token(), see bug 18734
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/prog_statevars.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c
index 1c333848ee8..615826b2106 100644
--- a/src/mesa/shader/prog_statevars.c
+++ b/src/mesa/shader/prog_statevars.c
@@ -605,7 +605,7 @@ append(char *dst, const char *src)
/**
- * Convert token 'k' to a string, append it only 'dst' string.
+ * Convert token 'k' to a string, append it onto 'dst' string.
*/
static void
append_token(char *dst, gl_state_index k)
@@ -780,7 +780,8 @@ append_token(char *dst, gl_state_index k)
append(dst, "ShadowAmbient");
break;
default:
- ;
+ /* probably STATE_INTERNAL_DRIVER+i (driver private state) */
+ append(dst, "driverState");
}
}