From 1504c1e78f688851e4ea62b7cb8b74e997b92004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 6 Oct 2015 21:12:07 -0700 Subject: [PATCH] Metal: Fixed flip. --- src/renderer_mtl.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer_mtl.mm b/src/renderer_mtl.mm index d8af64bd..408c7d2b 100644 --- a/src/renderer_mtl.mm +++ b/src/renderer_mtl.mm @@ -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;