How multiple OpenGL views share single GL_RENDERBUFFER in iOS

93 Views Asked by At

Let's say I have two views need to present the same OpenGL content in renderBuffer. How do I bind this two view's CAEAGLLayer to the renderBuffer?renderbufferStorage:fromDrawable: just bind the last CAEAGLLayer to GL_RENDEARBUFFER.

0

There are 0 best solutions below