mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
gallium/hud: append results to files instead of overwriting them
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23706>
This commit is contained in:
parent
6e5eb0afd3
commit
2f1e62f831
1 changed files with 1 additions and 1 deletions
|
|
@ -1082,7 +1082,7 @@ hud_graph_set_dump_file(struct hud_graph *gr, const char *hud_dump_dir, bool to_
|
|||
strcpy(dump_file, hud_dump_dir);
|
||||
strcat(dump_file, PATH_SEP);
|
||||
strcat_without_spaces(dump_file, gr->name);
|
||||
gr->fd = fopen(dump_file, "w+");
|
||||
gr->fd = fopen(dump_file, "a+");
|
||||
free(dump_file);
|
||||
}
|
||||
} else if (to_stdout) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue