1
具體而言,錯誤顯示爲OpenGL error 0x0502 in -[CCES2Renderer resizeFromLayer:] 140
此錯誤僅出現在Android上,而不是iOS版本上。我發現導致此錯誤的代碼行(禁用它們可以解決問題,但我需要按鈕在我的遊戲中)。這些從我的主場景中從onEnter
中調用。使用Apportable和CCButton時,Android上的openGL錯誤0x0502
CCButton *newUserButton = [[CCButton alloc] initWithTitle:@"New user"];
[self addChild:newUserButton];