Don't restrict EGL color component sizes.
This makes SGX530 work when using 16bpp framebuffer.
This commit is contained in:
parent
567f4ff471
commit
d33cfef8bd
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue