unbalanced retain / release (#959)

This commit is contained in:
Stuart Carnie 2016-10-29 12:43:47 -07:00 committed by Branimir Karadžić
parent c5696d344e
commit dbe4c52d8f
1 changed files with 0 additions and 2 deletions

View File

@ -1730,9 +1730,7 @@ namespace bgfx { namespace mtl
if (m_drawable == nil)
{
m_drawable = m_metalLayer.nextDrawable;
#if BX_PLATFORM_IOS
retain(m_drawable); // keep alive to be useable at 'flip'
#endif
}
return m_drawable;