forked from enlightenment/efl
wayland-egl: Fix calls to eng_window_new
Since we simplified the eng_window_new function to accept the canvas and engine info, we need to update calls to that function @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
54e913a025
commit
7c6b9637d9
|
@ -615,12 +615,7 @@ eng_setup(Evas *evas, void *info)
|
||||||
glsym_evas_gl_preload_init();
|
glsym_evas_gl_preload_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
ob = eng_window_new(inf->info.display, inf->info.surface,
|
ob = eng_window_new(evas, inf, epd->output.w, epd->output.h, swap_mode);
|
||||||
inf->info.screen, inf->info.depth,
|
|
||||||
epd->output.w, epd->output.h,
|
|
||||||
inf->indirect,
|
|
||||||
inf->info.destination_alpha,
|
|
||||||
inf->info.rotation, swap_mode);
|
|
||||||
if (!ob) goto ob_err;
|
if (!ob) goto ob_err;
|
||||||
|
|
||||||
if (!evas_render_engine_gl_generic_init(&re->generic, ob,
|
if (!evas_render_engine_gl_generic_init(&re->generic, ob,
|
||||||
|
@ -681,12 +676,7 @@ eng_setup(Evas *evas, void *info)
|
||||||
ob->gl_context->references++;
|
ob->gl_context->references++;
|
||||||
gl_wins--;
|
gl_wins--;
|
||||||
|
|
||||||
ob = eng_window_new(inf->info.display, inf->info.surface,
|
ob = eng_window_new(evas, inf, epd->output.w, epd->output.h, swap_mode);
|
||||||
inf->info.screen, inf->info.depth,
|
|
||||||
epd->output.w, epd->output.h,
|
|
||||||
inf->indirect,
|
|
||||||
inf->info.destination_alpha,
|
|
||||||
inf->info.rotation, swap_mode);
|
|
||||||
if (!ob) goto ob_err;
|
if (!ob) goto ob_err;
|
||||||
|
|
||||||
eng_window_free(eng_get_ob(re));
|
eng_window_free(eng_get_ob(re));
|
||||||
|
|
Loading…
Reference in New Issue