mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-01 11:35:43 +00:00
Set cube flag properly
This commit is contained in:
1 parent
db3c50a5ec
commit
fb910e1137
1 file changed
+1
-2
@@ -275,8 +275,7 @@ void VulkanCreationInfo::Image::Init(const VkImageCreateInfo* pCreateInfo)
|
||||
if(pCreateInfo->usage & VK_IMAGE_USAGE_STORAGE_BIT)
|
||||
creationFlags |= eTextureCreate_UAV;
|
||||
|
||||
if(pCreateInfo->flags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT)
|
||||
cube = true;
|
||||
cube = (pCreateInfo->flags & VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT) ? true : false;
|
||||
}
|
||||
|
||||
void VulkanCreationInfo::ImageView::Init(const VkImageViewCreateInfo* pCreateInfo)
|
||||
|
||||
Reference in new issue
Block a user