mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-06 12:43:46 +01:00
Warning fix
This commit is contained in:
1 parent
5c4e4716b6
commit
7de49c66a1
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user