wayland-egl: Fix calls to eng_window_new
authorChris Michael <cp.michael@samsung.com>
Mon, 11 Aug 2014 15:28:50 +0000 (11:28 -0400)
committerChris Michael <cp.michael@samsung.com>
Mon, 11 Aug 2014 15:28:50 +0000 (11:28 -0400)
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>
src/modules/evas/engines/wayland_egl/evas_engine.c

index 2734ccb..ba814a1 100644 (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));