mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
unbalanced retain / release (#959)
This commit is contained in:
committed by
Branimir Karadžić
parent
c5696d344e
commit
dbe4c52d8f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user