|
@@ -189,6 +189,7 @@ namespace bgfx { namespace gl
|
|
|
|
|
|
|
|
m_context = (void*)context;
|
|
m_context = (void*)context;
|
|
|
[EAGLContext setCurrentContext:context];
|
|
[EAGLContext setCurrentContext:context];
|
|
|
|
|
+ [CATransaction flush];
|
|
|
|
|
|
|
|
GL_CHECK(glGenFramebuffers(1, &m_fbo) );
|
|
GL_CHECK(glGenFramebuffers(1, &m_fbo) );
|
|
|
GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, m_fbo) );
|
|
GL_CHECK(glBindFramebuffer(GL_FRAMEBUFFER, m_fbo) );
|