Mesa (main): zink: switch warn_missing_feature to mesa_logw
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Apr 6 23:01:55 UTC 2022
Module: Mesa
Branch: main
Commit: b6f99cf37802b2c4cf5d20dc097a6c75ac5143fb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6f99cf37802b2c4cf5d20dc097a6c75ac5143fb
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue Mar 8 10:49:02 2022 -0500
zink: switch warn_missing_feature to mesa_logw
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15778>
---
src/gallium/drivers/zink/zink_screen.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/zink/zink_screen.h b/src/gallium/drivers/zink/zink_screen.h
index 2a96b01cf0b..4d356235536 100644
--- a/src/gallium/drivers/zink/zink_screen.h
+++ b/src/gallium/drivers/zink/zink_screen.h
@@ -286,7 +286,7 @@ zink_stub_function_not_loaded(void);
do { \
static bool warned = false; \
if (!warned) { \
- fprintf(stderr, "WARNING: Incorrect rendering will happen, " \
+ mesa_logw("WARNING: Incorrect rendering will happen, " \
"because the Vulkan device doesn't support " \
"the %s feature\n", feat); \
warned = true; \
More information about the mesa-commit
mailing list