I’ve seen in the documentation that cocos2d-x v2 is RGB565 instead of 24-bit RGB888 color, how would I change this to have 24bit color on my app?
Check this:
void AppDelegate::initGLContextAttrs()
{
GLContextAttrs glContextAttrs = {8, 8, 8, 8, 24, 8};
GLView::setGLContextAttrs(glContextAttrs);
}
Thanks, though that seems to only work on cocos2dx v3, i’m using v2 unfortunately
Check parameters for egl.eglChooseConfig in Cocos2dxActivity.java
Looks like the right thing, though I can only see it for tizen, blackberry, emscripten and directx, is there a similar thing for opengl on the windows platform?