diff --git a/src/glcontext_eagl.mm b/src/glcontext_eagl.mm index b698314fc..a9e49a3a8 100644 --- a/src/glcontext_eagl.mm +++ b/src/glcontext_eagl.mm @@ -189,6 +189,7 @@ namespace bgfx { namespace gl m_context = (void*)context; [EAGLContext setCurrentContext:context]; + [CATransaction flush]; GL_CHECK(glGenFramebuffers(1, &m_fbo) ); GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, m_fbo) );