mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 07:48:07 +02:00
virgl: replace fprintf-call with debug_printf
This is the only direct call-site for fprintf in virgl; all other call-sites call debug_printf instead. So let's follow in style here. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
This commit is contained in:
parent
2ebfa90abe
commit
1b2444dffc
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ int virgl_encode_shader_state(struct virgl_context *ctx,
|
|||
|
||||
bret = tgsi_dump_str(tokens, TGSI_DUMP_FLOAT_AS_HEX, str, str_total_size);
|
||||
if (bret == false) {
|
||||
fprintf(stderr, "Failed to translate shader in available space - trying again\n");
|
||||
debug_printf("Failed to translate shader in available space - trying again\n");
|
||||
old_size = str_total_size;
|
||||
str_total_size = 65536 * ++retry_size;
|
||||
str = REALLOC(str, old_size, str_total_size);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue