summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/wayland_egl/evas_engine.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:47:39 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-08-25 10:47:39 -0700
commit741ecaf2cf217fd19dbc93cc5580ac876d21d1b1 (patch)
treec53d1381e678fabc35ebe7c781f6db403cb7997a /src/modules/evas/engines/wayland_egl/evas_engine.c
parentbf2439b50112ac4d605b1f4073a358c18676c025 (diff)
evas: no need to double init tilebuf as it is created by software generic.
Diffstat (limited to 'src/modules/evas/engines/wayland_egl/evas_engine.c')
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 6b849b3..6dd9bc9 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -649,16 +649,8 @@ eng_setup(void *engine EINA_UNUSED, void *info, unsigned int w, unsigned int h)
649 } 649 }
650 650
651 if (re->generic.software.tb) 651 if (re->generic.software.tb)
652 evas_common_tilebuf_free(re->generic.software.tb); 652 evas_render_engine_software_generic_tile_strict_set
653 re->generic.software.tb = evas_common_tilebuf_new(w, h); 653 (&re->generic.software, EINA_TRUE);
654
655 if (re->generic.software.tb)
656 {
657 evas_common_tilebuf_set_tile_size(re->generic.software.tb,
658 TILESIZE, TILESIZE);
659 evas_render_engine_software_generic_tile_strict_set
660 (&re->generic.software, EINA_TRUE);
661 }
662 654
663 eng_window_use(eng_get_ob(re)); 655 eng_window_use(eng_get_ob(re));
664 656