mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Metal: Fixed flip.
This commit is contained in:
parent
cdbe689d93
commit
1504c1e78f
1 changed files with 1 additions and 1 deletions
|
@ -2050,7 +2050,7 @@ namespace bgfx { namespace mtl
|
|||
|
||||
//TODO: acquire CAMetalDrawable just before we really need it. When we are using an encoder with target metalLayer's texture
|
||||
m_drawable = m_metalLayer.nextDrawable;
|
||||
retain(m_drawable); // keep alive to be useable at 'flip'
|
||||
// retain(m_drawable); // keep alive to be useable at 'flip'
|
||||
|
||||
m_uniformBufferVertexOffset = 0;
|
||||
m_uniformBufferFragmentOffset = 0;
|
||||
|
|
Loading…
Reference in a new issue