mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
c/client: Vulkan formats are listed as numbers not hex
This commit is contained in:
parent
c1d18f9b25
commit
a377fb135f
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue