mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
[vulkan] Correct QFV_CreateImage samples type
Not sure why I though FlagBits was correct instead of Flags.
This commit is contained in:
parent
debaffcb97
commit
1e163fd2d7
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue