Created
December 12, 2013 01:17
-
-
Save tsubaki/7921690 to your computer and use it in GitHub Desktop.
ディクテーションでUnityが落ちる対策。Unityが出力したファイルのUnityAppController.mmのrepaintメソッドのSetupUnityDefaultFBOの上にEAGLContextSetCurrentAutoRestore云々の部分を追加する
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)repaint | |
{ | |
EAGLContextSetCurrentAutoRestore autorestore(_mainDisplay->surface.context); | |
SetupUnityDefaultFBO(&_mainDisplay->surface); | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ありがとうございました、大変助かりました。