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:
@@ -6094,7 +6094,7 @@ namespace bgfx { namespace d3d12
|
||||
{
|
||||
m_type = TextureCube;
|
||||
}
|
||||
else if (imageContainer.m_depth > 1)
|
||||
else if (isVolume(imageContainer) )
|
||||
{
|
||||
m_type = Texture3D;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user