Mesa (main): lavapipe: fix missing VKAPI_CALL attribute

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Aug 21 16:50:32 UTC 2021


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

Author: Michel Zou <xantares09 at hotmail.com>
Date:   Fri Aug 20 10:42:06 2021 +0200

lavapipe: fix missing VKAPI_CALL attribute

Fixes build on mingw

Fixes: c198adf7

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12484>

---

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

diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c
index 6883501ce81..2c444efc887 100644
--- a/src/gallium/frontends/lavapipe/lvp_device.c
+++ b/src/gallium/frontends/lavapipe/lvp_device.c
@@ -1095,7 +1095,7 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetPhysicalDeviceMemoryProperties2(
                                          &pMemoryProperties->memoryProperties);
 }
 
-VkResult
+VKAPI_ATTR VkResult VKAPI_CALL
 lvp_GetMemoryHostPointerPropertiesEXT(
    VkDevice _device,
    VkExternalMemoryHandleTypeFlagBits handleType,



More information about the mesa-commit mailing list