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

Author: Michel Zou <[email protected]>
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 <[email protected]>
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,

Reply via email to