Mesa (main): zink: Add a missing VKAPI_ATTR.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 3 02:09:08 UTC 2021


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

Author: Georg Lehmann <dadschoorse at gmail.com>
Date:   Tue Jun  1 17:45:42 2021 +0200

zink: Add a missing VKAPI_ATTR.

Closes #4868

Signed-off-by: Georg Lehmann <dadschoorse at gmail.com>
Reported-by: Roman Stratiienko <r.stratiienko at gmail.com>
Tested-by: Roman Stratiienko <r.stratiienko at gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11115>

---

 src/gallium/drivers/zink/zink_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index 91ad38cdc5d..2eb9cfbcd25 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -1299,7 +1299,7 @@ load_device_extensions(struct zink_screen *screen)
    return true;
 }
 
-static VkBool32 VKAPI_CALL
+static VKAPI_ATTR VkBool32 VKAPI_CALL
 zink_debug_util_callback(
     VkDebugUtilsMessageSeverityFlagBitsEXT           messageSeverity,
     VkDebugUtilsMessageTypeFlagsEXT                  messageType,



More information about the mesa-commit mailing list