summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/virgl')
-rw-r--r--src/gallium/drivers/virgl/virgl_texture.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/virgl/virgl_texture.c b/src/gallium/drivers/virgl/virgl_texture.c
index 75ee059fe76..3871f265d4a 100644
--- a/src/gallium/drivers/virgl/virgl_texture.c
+++ b/src/gallium/drivers/virgl/virgl_texture.c
@@ -66,7 +66,9 @@ static unsigned temp_bind(unsigned orig)
unsigned warn = ~(PIPE_BIND_RENDER_TARGET | PIPE_BIND_DEPTH_STENCIL |
PIPE_BIND_SAMPLER_VIEW | PIPE_BIND_DISPLAY_TARGET);
if (orig & warn)
- fprintf(stderr, "Waring, possibly unhandled bind: %x\n", orig & warn);
+ debug_printf("VIRGL: Warning, possibly unhandled bind: %x\n",
+ orig & warn);
+
return orig & (PIPE_BIND_DEPTH_STENCIL | PIPE_BIND_RENDER_TARGET);
}