mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 04:10:10 +01:00
mesa: fix default switch case in append_token(), see bug 18734
This commit is contained in:
parent
c303e7299b
commit
ec17001cd4
1 changed files with 3 additions and 2 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue