mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 10:20:52 +00:00
Support depth-1 volume textures. (#3883)
This commit is contained in:
+1
-1
@@ -6805,7 +6805,7 @@ VK_DESTROY
|
||||
: VK_IMAGE_VIEW_TYPE_CUBE
|
||||
;
|
||||
}
|
||||
else if (imageContainer.m_depth > 1)
|
||||
else if (isVolume(imageContainer) )
|
||||
{
|
||||
m_type = VK_IMAGE_VIEW_TYPE_3D;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user