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

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 1 17:20:10 UTC 2021


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

Author: Georg Lehmann <dadschoorse at gmail.com>
Date:   Mon Jun  7 19:31:25 2021 +0200

lavapipe: Add a missing VKAPI_ATTR.

Signed-off-by: Georg Lehmann's avatarGeorg Lehmann <dadschoorse at gmail.com>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11114>

---

 src/gallium/frontends/lavapipe/lvp_wsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/frontends/lavapipe/lvp_wsi.c b/src/gallium/frontends/lavapipe/lvp_wsi.c
index e3434881427..96cb28bd0be 100644
--- a/src/gallium/frontends/lavapipe/lvp_wsi.c
+++ b/src/gallium/frontends/lavapipe/lvp_wsi.c
@@ -23,7 +23,7 @@
 
 #include "lvp_wsi.h"
 
-static PFN_vkVoidFunction VKAPI_CALL
+static VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL
 lvp_wsi_proc_addr(VkPhysicalDevice physicalDevice, const char *pName)
 {
    LVP_FROM_HANDLE(lvp_physical_device, pdevice, physicalDevice);



More information about the mesa-commit mailing list