evas-wayland-egl: Check for valid tilebuffer before setting tile size

We should check for a valid Tilebuffer before calling tile_strict_set

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-08-18 10:43:38 -04:00
parent db31d0ba97
commit 89fb7bf249
1 changed files with 5 additions and 1 deletions

View File

@ -717,7 +717,11 @@ eng_setup(Evas *evas, void *info)
goto ob_err;
}
evas_render_engine_software_generic_tile_strict_set(&re->generic.software, EINA_TRUE);
if (re->generic.software.tb)
{
evas_render_engine_software_generic_tile_strict_set
(&re->generic.software, EINA_TRUE);
}
if (!epd->engine.data.context)
{