【问题标题】:openGL error 0x0502 on Android when using Apportable and CCButton使用 Apportable 和 CCButton 时 Android 上的 openGL 错误 0x0502
【发布时间】:2014-02-12 15:45:48
【问题描述】:

具体来说,错误为OpenGL error 0x0502 in -[CCES2Renderer resizeFromLayer:] 140 此错误仅出现在 Android 上,不会出现在 iOS 版本上。我找到了导致此错误的代码行(禁用它们可以解决问题,但我的游戏中需要按钮)。这些是从我的主要场景中的onEnter 调用的。

CCButton *newUserButton = [[CCButton alloc] initWithTitle:@"New user"];
[self addChild:newUserButton];

【问题讨论】:

    标签: android cocos2d-iphone apportable spritebuilder


    【解决方案1】:

    您使用的是哪个版本的 Apportable? 如果您使用 1.1.04.1,那么解决方案很简单,“可升级”。

    http://www.cocos2d-iphone.org/forums/topic/cocos2d-v3-with-apportable-problems/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-04-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多