cocos2d/cocos2d-objc

CCDirectorIOS 'drawScene' causes crash

substance-r2d2 opened this issue · 2 comments

Recently upgraded my project from 3.1 to 3.5. CCDirectorIOS has a call to 'drawScene' in 'mainLoop'
screen shot 2016-08-12 at 12 10 26 pm
screen shot 2016-08-12 at 12 10 39 pm

, but this seems to crash the application.

I solved the issue by implementing drawScene and initialising frameBuffer in CCDirectorIOS. Can anyone weigh in on this issue and also if my solution is proper ?

How to initialising frameBuffer?