Create engine context if missing and return success.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83254
This commit is contained in:
Christopher Michael 2013-01-24 09:17:23 +00:00 committed by Christopher Michael
parent a2e3bfc356
commit ae0076c929
1 changed files with 8 additions and 1 deletions

View File

@ -209,7 +209,14 @@ eng_setup(Evas *eo_evas, void *einfo)
epd->engine.data.output = re;
if (!epd->engine.data.output) return 0;
return 0;
if (!epd->engine.data.context)
{
epd->engine.data.context =
epd->engine.func->context_new(epd->engine.data.output);
}
/* return success */
return 1;
}
static void