wayland_egl: Remove screen from engine info

Doesn't appear to actually be used for anything.
This commit is contained in:
Derek Foreman 2016-11-01 08:36:55 -05:00
parent b898d3f929
commit 47718ae3ea
3 changed files with 1 additions and 3 deletions

View File

@ -27,7 +27,7 @@ struct _Evas_Engine_Info_Wayland_Egl
struct wl_display *display;
struct wl_surface *surface;
struct wl_egl_window *win;
int depth, screen, rotation, edges;
int depth, rotation, edges;
unsigned int destination_alpha : 1;
} info;

View File

@ -657,7 +657,6 @@ eng_setup(Evas *evas, void *info)
*/
/* (ob->info->info.win != ob->win) || */
(ob->info->info.depth != ob->depth) ||
(ob->info->info.screen != ob->screen) ||
(ob->info->info.destination_alpha != ob->alpha))
{
gl_wins--;

View File

@ -34,7 +34,6 @@ eng_window_new(Evas *evas, Evas_Engine_Info_Wayland_Egl *einfo, int w, int h, Re
context = EGL_NO_CONTEXT;
display = gw->disp;
gw->surface = einfo->info.surface;
gw->screen = einfo->info.screen;
gw->depth = einfo->info.depth;
gw->alpha = einfo->info.destination_alpha;
gw->rot = einfo->info.rotation;