Fixed issue #912.
This commit is contained in:
parent
9166f9e13d
commit
9f0ff9f2ff
@ -2415,7 +2415,7 @@ namespace bgfx { namespace mtl
|
|||||||
{
|
{
|
||||||
if (imageContainer.m_cubeMap)
|
if (imageContainer.m_cubeMap)
|
||||||
{
|
{
|
||||||
desc.textureType = MTLTextureTypeCubeArray;
|
desc.textureType = MTLTextureType(6); // MTLTextureTypeCubeArray
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user