mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
gdk: make vulkancontext work with Android armv7
From vk_platform.h: On Android 32-bit ARM targets, Vulkan functions use the "hardfloat" calling convention, i.e. float parameters are passed in registers. This is true even if the rest of the application passes floats on the stack, as it does by default when compiling for the armeabi-v7a NDK ABI.
This commit is contained in:
parent
967f030a78
commit
c01d8c272f
@ -1681,7 +1681,7 @@ gdk_display_create_vulkan_device (GdkDisplay *display,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static VkBool32 VKAPI_CALL
|
||||
static VKAPI_ATTR VkBool32 VKAPI_CALL
|
||||
gdk_vulkan_debug_report (VkDebugReportFlagsEXT flags,
|
||||
VkDebugReportObjectTypeEXT objectType,
|
||||
uint64_t object,
|
||||
|
Loading…
Reference in New Issue
Block a user