Mesa (main): zink: fix warning text in missing feature macro

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 6 23:01:55 UTC 2022


Module: Mesa
Branch: main
Commit: da80beafb2d87beb8d9865ec1c27d7e7f5113f80
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=da80beafb2d87beb8d9865ec1c27d7e7f5113f80

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Apr  6 14:31:26 2022 -0400

zink: fix warning text in missing feature macro

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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/zink/zink_screen.h b/src/gallium/drivers/zink/zink_screen.h
index 7bb240d4eef..40fb5b93f72 100644
--- a/src/gallium/drivers/zink/zink_screen.h
+++ b/src/gallium/drivers/zink/zink_screen.h
@@ -285,9 +285,9 @@ zink_stub_function_not_loaded(void);
 #define warn_missing_feature(warned, feat) \
    do { \
       if (!warned) { \
-         mesa_logw("WARNING: Incorrect rendering will happen, " \
+         mesa_logw("WARNING: Incorrect rendering will happen " \
                          "because the Vulkan device doesn't support " \
-                         "the %s feature\n", feat); \
+                         "the '%s' feature\n", feat); \
          warned = true; \
       } \
    } while (0)



More information about the mesa-commit mailing list