Skip to content

Commit cf61a8f

Browse files
committed
a fix for Siri Dictation
1 parent e69a507 commit cf61a8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cocos2d/Platforms/iOS/CCGLView.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,9 @@ -(void)addFrameCompletionHandler:(dispatch_block_t)handler
402402
[fence.handlers addObject:handler];
403403
}
404404

405-
-(void)beginFrame {}
405+
-(void)beginFrame {
406+
[EAGLContext setCurrentContext:self.context];
407+
}
406408

407409
-(void)presentFrame
408410
{

0 commit comments

Comments
 (0)