iOS: Fixed build.

This commit is contained in:
Branimir Karadžić 2016-06-23 15:14:12 -07:00
parent 92d8065850
commit d4e41c98b2

View File

@ -229,8 +229,15 @@ namespace bgfx { namespace mtl
);
return state;
}
bool depth24Stencil8PixelFormatSupported() { return m_obj.depth24Stencil8PixelFormatSupported; }
bool depth24Stencil8PixelFormatSupported()
{
#if BX_PLATFORM_IOS
return false;
#else
return m_obj.depth24Stencil8PixelFormatSupported;
#endif // BX_PLATFORM_IOS
}
MTL_CLASS_END
MTL_CLASS(Function)