【发布时间】:2015-01-31 06:59:54
【问题描述】:
Cocos2d:OpenGL 错误 0x0500 CCTextureAtlas.cpp drawNumberOfQuads 686
当我用 setString 更新 word 时,OpenGL 会出现滚动错误。或者用文字初始化 CCLabelBMFont。
cocos2d.x.version: cocos2d-x 2.2.6
cocos2d.x.compiled_with_profiler: false
cocos2d.x.compiled_with_gl_state_cache: true
gl.vendor: Apple Inc.
gl.renderer: Apple A8 GPU
gl.version: OpenGL ES 2.0 Apple A8 GPU - 50.6.10
gl.max_texture_size: 4096
gl.max_texture_units: 8
gl.max_samples_allowed: 4
gl.supports_PVRTC: true
gl.supports_NPOT: true
gl.supports_BGRA8888: false
gl.supports_discard_framebuffer: true
gl.supports_vertex_array_object: true
【问题讨论】:
-
你能粘贴你的代码吗?那会更容易理解。
-
@shaqirsaiyed thx,我终于修复了错误。