diff options
author | Timothy Arceri <[email protected]> | 2016-06-30 14:54:22 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-06-30 16:51:25 +1000 |
commit | 378f07ccb5bff7857d87a4fe5dff0b5e83f99895 (patch) | |
tree | 8cf943552717e3c18677768e66c23c9d1a16aed3 /src/mesa/program/prog_print.c | |
parent | e8c8aa0320a612af0e85809eceac54e5e16cc90d (diff) |
mesa: don't print name in _mesa_append_uniforms_to_file()
This is only used to print linked shaders which always have a name of 0
so this was pointless.
Acked-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_print.c')
-rw-r--r-- | src/mesa/program/prog_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c index 8f46bc56d22..570b2f5800a 100644 --- a/src/mesa/program/prog_print.c +++ b/src/mesa/program/prog_print.c @@ -1017,7 +1017,7 @@ _mesa_append_uniforms_to_file(const struct gl_shader *shader) else type = "vert"; - _mesa_snprintf(filename, sizeof(filename), "shader_%u.%s", shader->Name, type); + _mesa_snprintf(filename, sizeof(filename), "shader.%s", type); f = fopen(filename, "a"); /* append */ if (!f) { fprintf(stderr, "Unable to open %s for appending\n", filename); |