diff options
author | Brian Paul <[email protected]> | 2008-11-28 13:50:41 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-28 13:50:41 -0700 |
commit | ec17001cd4e17240039b9b96083ef9b831720107 (patch) | |
tree | 258abbf4d77d481c0377cafbad42b6b2620a1d13 /src/mesa | |
parent | c303e7299b5f95d4728c3710c56f50b1fefca09d (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.c | 5 |
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"); } } |