Skip to content
Snippets Groups Projects
Commit ad74d095 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

COMP: Fix compilation error in VulkanTextureDelegate

parent 9f29442e
No related branches found
No related tags found
No related merge requests found
...@@ -397,8 +397,8 @@ VulkanTextureDelegate::uploadCubemapTexture(VulkanMemoryManager& memoryManager) ...@@ -397,8 +397,8 @@ VulkanTextureDelegate::uploadCubemapTexture(VulkanMemoryManager& memoryManager)
copyInfos[currentRegion].imageSubresource = layersDestination; copyInfos[currentRegion].imageSubresource = layersDestination;
copyInfos[currentRegion].imageOffset = { 0, 0, 0 }; copyInfos[currentRegion].imageOffset = { 0, 0, 0 };
copyInfos[currentRegion].imageExtent = { copyInfos[currentRegion].imageExtent = {
m_cubemap[layer][level].extent().x, (uint32_t)m_cubemap[layer][level].extent().x,
m_cubemap[layer][level].extent().y, (uint32_t)m_cubemap[layer][level].extent().y,
1 1
}; };
currentOffset += (unsigned int)m_cubemap[layer][level].size(); currentOffset += (unsigned int)m_cubemap[layer][level].size();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment