c/client: Vulkan formats are listed as numbers not hex

This commit is contained in:
Jakob Bornecrantz 2021-04-26 15:04:38 +01:00 committed by Jakob Bornecrantz
parent c1d18f9b25
commit a377fb135f

View file

@ -349,7 +349,7 @@ vk_format_to_gl(int64_t format)
case 126 /*VK_FORMAT_D32_SFLOAT*/: return GL_DEPTH_COMPONENT32F;
case 129 /*VK_FORMAT_D24_UNORM_S8_UINT*/: return GL_DEPTH24_STENCIL8;
case 130 /*VK_FORMAT_D32_SFLOAT_S8_UINT*/: return GL_DEPTH32F_STENCIL8;
default: U_LOG_W("Cannot convert VK format 0x%016" PRIx64 " to GL format!\n", format); return 0;
default: U_LOG_W("Cannot convert VK format %" PRIu64 " to GL format!\n", format); return 0;
}
}