Cocos2d how to fix Crash When us

2016-03-16  本文已影响17人  南国青天

When I use Siri on the Cocos2d 3.4.9 framework always make crash.
Following the crash of the stack.

28281410-98D0-4C07-9542-BD36283AA394.png

What's make crash reason?

I find a article aboute the problem.
The problem was Siri knocked out GL context that is why everthing crashed. and this fix will appear in 3.5. but if you want to do yourself right now. simply replace beginFrame method in CCGLView.m with this one line

-(void)beginFrame { [EAGLContext setCurrentContext:self.context]; }
上一篇 下一篇

猜你喜欢

热点阅读