[vulkan] Correct QFV_CreateImage samples type

Not sure why I though FlagBits was correct instead of Flags.
This commit is contained in:
Bill Currie 2021-01-18 02:08:55 +09:00
parent debaffcb97
commit 1e163fd2d7
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ VkImage QFV_CreateImage (struct qfv_device_s *device, int cubemap,
VkExtent3D size,
uint32_t num_mipmaps,
uint32_t num_layers,
VkSampleCountFlagBits samples,
VkSampleCountFlags samples,
VkImageUsageFlags usage_scenarios);
VkDeviceMemory QFV_AllocImageMemory (struct qfv_device_s *device,

View file

@ -68,7 +68,7 @@ QFV_CreateImage (qfv_device_t *device, int cubemap,
VkExtent3D size,
uint32_t num_mipmaps,
uint32_t num_layers,
VkSampleCountFlagBits samples,
VkSampleCountFlags samples,
VkImageUsageFlags usage_scenarios)
{
VkDevice dev = device->dev;