Open GoogleCodeExporter opened 8 years ago
it seems FBO is not supported on the android platform, when calling
glGenRenderbuffersOES in CCRendertexture's init function, it crashes.
Original comment by bpteam2...@gmail.com
on 29 Aug 2011 at 5:00
This happens because the onSurfaceCreate event of the mGLThread (GLSurfaceView
class) occurs after the creation of the CCScene and eventually the
CCDirector.gl property is still equals to null.
This seems to happen although I have called the attachView method of the
sharedDirector before I create my scene.
Not found a solution yet.
Original comment by sort.co...@gmail.com
on 17 Aug 2012 at 7:17
Whell there is a solution for the above...
Just override the onEnter event of your CCNode and write the CCRenderTexture
code in there. The class will work as it should.
Original comment by sort.co...@gmail.com
on 17 Aug 2012 at 7:08
could you clarify your solution with regards to the above problem please?
which CCNode are you talking about? i tried overriding my CCLayers onEnter and
still got a black screen.
Original comment by RichardH...@gmail.com
on 9 Oct 2012 at 4:40
Original issue reported on code.google.com by
erdenkri...@googlemail.com
on 26 May 2011 at 1:05