eglSwapBuffers Error on some devices

Hi, I have fixed by change malloc to new in CCTextureAtlas :slight_smile: