Created
April 2, 2016 09:38
-
-
Save syou007/8367e1524ec81308990452bea71d622b to your computer and use it in GitHub Desktop.
Mac 10.11(capitan)でCocos2dを動かすと画面遷移でエラーが出る。 ref: http://qiita.com/syou007/items/e8d9fee4b75397e9958d
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)draw:(CCRenderer *)renderer transform:(const GLKMatrix4 *)transform | |
{ | |
// typedef id (*Func)(id, SEL); | |
// ((Func)objc_msgSend)(self, _drawSelector); | |
void (*Func)(id, SEL) = (void(*)(id, SEL)) objc_msgSend; | |
Func(self, _drawSelector); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment