diff options
Diffstat (limited to 'src/mesa/program/prog_print.c')
-rw-r--r-- | src/mesa/program/prog_print.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c index b32ce150da3..4f85d14c41d 100644 --- a/src/mesa/program/prog_print.c +++ b/src/mesa/program/prog_print.c @@ -969,6 +969,8 @@ _mesa_write_shader_to_file(const struct gl_shader *shader) case MESA_SHADER_COMPUTE: type = "comp"; break; + default: + break; } _mesa_snprintf(filename, sizeof(filename), "shader_%u.%s", shader->Name, type); |