forked from enlightenment/efl
wayland_egl: Fix color depth when not using alpha
Since we don't actually set the color depth at all we can end up with an RGB565 buffer. We don't ask for depths because apparently the N900 had a problem with this under X. I'm not aware of any efforts to bring wayland to the N900, so let's do this normally.
This commit is contained in:
parent
dd90488b69
commit
d85e960060
|
@ -46,16 +46,14 @@ eng_window_new(Evas_Engine_Info_Wayland *einfo, int w, int h, Render_Output_Swap
|
|||
config_attrs[n++] = EGL_WINDOW_BIT;
|
||||
config_attrs[n++] = EGL_RENDERABLE_TYPE;
|
||||
config_attrs[n++] = EGL_OPENGL_ES2_BIT;
|
||||
# if 0
|
||||
/* FIXME: n900 - omap3 sgx libs break here */
|
||||
|
||||
config_attrs[n++] = EGL_RED_SIZE;
|
||||
config_attrs[n++] = 1;
|
||||
config_attrs[n++] = EGL_GREEN_SIZE;
|
||||
config_attrs[n++] = 1;
|
||||
config_attrs[n++] = EGL_BLUE_SIZE;
|
||||
config_attrs[n++] = 1;
|
||||
/* FIXME: end n900 breakage */
|
||||
# endif
|
||||
|
||||
config_attrs[n++] = EGL_ALPHA_SIZE;
|
||||
config_attrs[n++] = gw->alpha;
|
||||
config_attrs[n++] = EGL_DEPTH_SIZE;
|
||||
|
|
Loading…
Reference in New Issue