Warning fix

This commit is contained in:
Henrik Rydgård committed 2019-06-25 21:35:54 +02:00
1 parent 5c4e4716b6
commit 7de49c66a1
1 file changed
+1 -1
+1 -1
View File
@@ -851,7 +851,7 @@ bool VulkanContext::InitQueue() {
// Get the list of VkFormats that are supported:
uint32_t formatCount = 0;
VkResult res = vkGetPhysicalDeviceSurfaceFormatsKHR(physical_devices_[physical_device_], surface_, &formatCount, nullptr);
_assert_msg_(G3D, res == VK_SUCCESS, "Failed to get formats for device %p: %d surface: %p", physical_devices_[physical_device_], (int)res, surface_);
_assert_msg_(G3D, res == VK_SUCCESS, "Failed to get formats for device %d: %d", physical_device_, (int)res);
if (res != VK_SUCCESS) {
return false;
}