iOS: Fixed build.
This commit is contained in:
parent
92d8065850
commit
d4e41c98b2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user