Don't restrict EGL color component sizes.

This makes SGX530 work when using 16bpp framebuffer.
This commit is contained in:
notaz 2012-12-12 00:26:14 +02:00
parent 567f4ff471
commit d33cfef8bd

View File

@ -177,9 +177,9 @@ static bool gfx_ctx_init(void)
#define EGL_ATTRIBS_BASE \
EGL_SURFACE_TYPE, EGL_WINDOW_BIT, \
EGL_RED_SIZE, 8, \
EGL_GREEN_SIZE, 8, \
EGL_BLUE_SIZE, 8, \
EGL_RED_SIZE, 0, \
EGL_GREEN_SIZE, 0, \
EGL_BLUE_SIZE, 0, \
EGL_DEPTH_SIZE, 0, \
EGL_STENCIL_SIZE, 0