Fix warning

This commit is contained in:
SirLynix 2022-11-20 15:42:02 +01:00 committed by Jérôme Leclercq
parent 6ef4c14772
commit 11e098f8b2
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ namespace Nz
if (!copyCommandBuffer->Begin(VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT))
return false;
VkImageAspectFlagBits aspect = VK_IMAGE_ASPECT_COLOR_BIT;
VkImageAspectFlags aspect = VK_IMAGE_ASPECT_COLOR_BIT;
if (PixelFormatInfo::GetContent(m_params.pixelFormat) == PixelFormatContent::Depth)
aspect = VK_IMAGE_ASPECT_DEPTH_BIT;