mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Merge pull request #11577 from JosJuice/android-armeabi-v7a
Android: Fix armeabi-v7a build
This commit is contained in:
@ -216,15 +216,15 @@ static u32 fmix32(u32 h)
|
||||
static void bmix32(u32& h1, u32& h2, u32& k1, u32& k2, u32& c1, u32& c2)
|
||||
{
|
||||
k1 *= c1;
|
||||
k1 = Common::RotateLeft(k1, 11);
|
||||
k1 = std::rotl(k1, 11);
|
||||
k1 *= c2;
|
||||
h1 ^= k1;
|
||||
h1 += h2;
|
||||
|
||||
h2 = Common::RotateLeft(h2, 17);
|
||||
h2 = std::rotl(h2, 17);
|
||||
|
||||
k2 *= c2;
|
||||
k2 = Common::RotateLeft(k2, 11);
|
||||
k2 = std::rotl(k2, 11);
|
||||
k2 *= c1;
|
||||
h2 ^= k2;
|
||||
h2 += h1;
|
||||
|
@ -780,7 +780,7 @@ std::pair<VkImage, VmaAllocation> VKStagingTexture::CreateLinearImage(StagingTex
|
||||
if (res != VK_SUCCESS)
|
||||
{
|
||||
LOG_VULKAN_ERROR(res, "Linear images are not supported for the staging texture: ");
|
||||
return std::make_pair(VK_NULL_HANDLE, VK_NULL_HANDLE);
|
||||
return std::make_pair<VkImage, VmaAllocation>(VK_NULL_HANDLE, VK_NULL_HANDLE);
|
||||
}
|
||||
|
||||
VmaAllocationCreateInfo alloc_create_info = {};
|
||||
@ -799,7 +799,7 @@ std::pair<VkImage, VmaAllocation> VKStagingTexture::CreateLinearImage(StagingTex
|
||||
if (res != VK_SUCCESS)
|
||||
{
|
||||
LOG_VULKAN_ERROR(res, "vmaCreateImage failed: ");
|
||||
return std::make_pair(VK_NULL_HANDLE, VK_NULL_HANDLE);
|
||||
return std::make_pair<VkImage, VmaAllocation>(VK_NULL_HANDLE, VK_NULL_HANDLE);
|
||||
}
|
||||
return std::make_pair(image, alloc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user