Fixed issue #912.

This commit is contained in:
Branimir Karadžić 2016-09-13 18:53:07 -07:00
parent 9166f9e13d
commit 9f0ff9f2ff

View File

@ -2415,7 +2415,7 @@ namespace bgfx { namespace mtl
{
if (imageContainer.m_cubeMap)
{
desc.textureType = MTLTextureTypeCubeArray;
desc.textureType = MTLTextureType(6); // MTLTextureTypeCubeArray
}
else
{