Fix a missing else causing doubles to get the wrong expanded format

This commit is contained in:
baldurk
2018-05-13 10:13:49 +01:00
parent 5c40914c32
commit a6ae880b64
+1 -1
View File
@@ -1468,7 +1468,7 @@ void VulkanReplay::InitPostVSBuffers(uint32_t eventId)
if(IsDoubleFormat(origFormat))
expandedFormat = VK_FORMAT_R32G32B32A32_UINT;
if(IsUIntFormat(origFormat))
else if(IsUIntFormat(origFormat))
expandedFormat = VK_FORMAT_R32G32B32A32_UINT;
else if(IsSIntFormat(origFormat))
expandedFormat = VK_FORMAT_R32G32B32A32_SINT;