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:
Chris Michael 2014-08-11 11:28:50 -04:00
parent 54e913a025
commit 7c6b9637d9
1 changed files with 2 additions and 12 deletions

View File

@ -615,12 +615,7 @@ eng_setup(Evas *evas, void *info)
glsym_evas_gl_preload_init();
}
ob = eng_window_new(inf->info.display, inf->info.surface,
inf->info.screen, inf->info.depth,
epd->output.w, epd->output.h,
inf->indirect,
inf->info.destination_alpha,
inf->info.rotation, swap_mode);
ob = eng_window_new(evas, inf, epd->output.w, epd->output.h, swap_mode);
if (!ob) goto ob_err;
if (!evas_render_engine_gl_generic_init(&re->generic, ob,
@ -681,12 +676,7 @@ eng_setup(Evas *evas, void *info)
ob->gl_context->references++;
gl_wins--;
ob = eng_window_new(inf->info.display, inf->info.surface,
inf->info.screen, inf->info.depth,
epd->output.w, epd->output.h,
inf->indirect,
inf->info.destination_alpha,
inf->info.rotation, swap_mode);
ob = eng_window_new(evas, inf, epd->output.w, epd->output.h, swap_mode);
if (!ob) goto ob_err;
eng_window_free(eng_get_ob(re));