From: Brian Paul Date: Fri, 28 Nov 2008 20:50:41 +0000 (-0700) Subject: mesa: fix default switch case in append_token(), see bug 18734 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec17001cd4e17240039b9b96083ef9b831720107;p=mesa.git mesa: fix default switch case in append_token(), see bug 18734 --- 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"); } }