mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-26 02:35:27 +00:00
Support depth-1 volume textures. (#3883)
This commit is contained in:
+1
-1
@@ -2184,7 +2184,7 @@ namespace bgfx
|
||||
&& 0 != (formatCaps & BGFX_CAPS_FORMAT_TEXTURE_CUBE_EMULATED)
|
||||
;
|
||||
}
|
||||
else if (_imageContainer.m_depth > 1)
|
||||
else if (isVolume(_imageContainer) )
|
||||
{
|
||||
convert |= 0 == (formatCaps & BGFX_CAPS_FORMAT_TEXTURE_3D)
|
||||
&& 0 != (formatCaps & BGFX_CAPS_FORMAT_TEXTURE_3D_EMULATED)
|
||||
|
||||
Reference in New Issue
Block a user