diff --git a/build.gradle b/build.gradle index 5ad184d2..a8a2eb45 100644 --- a/build.gradle +++ b/build.gradle @@ -83,6 +83,11 @@ android { } standard { dimension "device" + externalNativeBuild { + cmake { + abiFilters 'arm64-v8a' + } + } } } diff --git a/client/vk/device_memory.h b/client/vk/device_memory.h index 9af07fbb..923df1cf 100644 --- a/client/vk/device_memory.h +++ b/client/vk/device_memory.h @@ -22,6 +22,8 @@ #include "utils/handle.h" #include +static_assert(not std::is_same_v, "vulkan handles need to be different types"); + namespace vk { class device_memory : public utils::handle