cocos2d / cocos2d-objc

Cocos2d for iOS and OS X, built using Objective-C
http://www.cocos2d-objc.org
Other
4.07k stars 1.16k forks source link

CCDirectorIOS 'drawScene' causes crash #1386

Open substance-r2d2 opened 8 years ago

substance-r2d2 commented 8 years ago

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.

substance-r2d2 commented 8 years ago

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 ?

FreeYXY commented 3 years ago

How to initialising frameBuffer?