ccx : Change minimum config to RGB565. Add depth buffer and stencil buffer requirements to EGL config.

This commit is contained in:
folecr 2013-03-22 18:26:53 -07:00
parent fc3cd0c68c
commit 57cd5eedef
1 changed files with 5 additions and 3 deletions

View File

@ -52,9 +52,11 @@ static int engine_init_display(struct engine* engine) {
*/
const EGLint attribs[] = {
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
EGL_BLUE_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_RED_SIZE, 8,
EGL_BLUE_SIZE, 5,
EGL_GREEN_SIZE, 6,
EGL_RED_SIZE, 5,
EGL_DEPTH_SIZE, 16,
EGL_STENCIL_SIZE, 8,
EGL_NONE
};
EGLint w, h, dummy, format;