forked from enlightenment/efl
Test for valid engine output to see if we need to create it.
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83236
This commit is contained in:
parent
1e41dcd37f
commit
7cd113ea47
|
@ -87,6 +87,7 @@ eng_setup(Evas *eo_evas, void *einfo)
|
|||
{
|
||||
Evas_Engine_Info_Wayland_Shm *info;
|
||||
Evas_Public_Data *epd;
|
||||
Render_Engine *re = NULL;
|
||||
|
||||
/* try to cast the engine info to our engine info */
|
||||
if (!(info = (Evas_Engine_Info_Wayland_Shm *)einfo))
|
||||
|
@ -96,6 +97,12 @@ eng_setup(Evas *eo_evas, void *einfo)
|
|||
if (!(epd = eo_data_get(eo_evas, EVAS_CLASS)))
|
||||
return 0;
|
||||
|
||||
/* test for valid engine output */
|
||||
if (!(re = epd->engine.data.output))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue