Skip to content

Commit e4df9b3

Browse files
s1ddoks1ddok
authored andcommitted
a fix for Siri Dictation
1 parent 64eb71c commit e4df9b3

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)