Commit 82feec7e by Alexis Hetu Committed by Alexis Hétu

Android build fix

Change-Id: Ide85746f57ff8b37aebd5d17fba4ad0fffc762ce Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/33108Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Presubmit-Ready: Alexis Hétu <sugoi@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 2d77aea5
...@@ -1028,7 +1028,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateImage(VkDevice device, const VkImageCreat ...@@ -1028,7 +1028,7 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateImage(VkDevice device, const VkImageCreat
allocInfo.allocationSize = memRequirements.size; allocInfo.allocationSize = memRequirements.size;
allocInfo.memoryTypeIndex = 0; allocInfo.memoryTypeIndex = 0;
VkDeviceMemory devmem = VK_NULL_HANDLE; VkDeviceMemory devmem = { VK_NULL_HANDLE };
result = vkAllocateMemory(device, &allocInfo, nullptr, &devmem); result = vkAllocateMemory(device, &allocInfo, nullptr, &devmem);
if(result != VK_SUCCESS) if(result != VK_SUCCESS)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment