forked from enlightenment/efl
During engine setup, try to allocate a new Render_Engine structure.
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83241
This commit is contained in:
parent
753aa3d487
commit
f0a6c5ca26
|
@ -61,7 +61,14 @@ int _evas_engine_way_shm_log_dom = -1;
|
|||
static void *
|
||||
_output_engine_setup(int w, int h, unsigned int rotation, unsigned int depth, Eina_Bool destination_alpha, struct wl_shm *wl_shm, struct wl_surface *wl_surface, int try_swap)
|
||||
{
|
||||
return NULL;
|
||||
Render_Engine *re = NULL;
|
||||
|
||||
/* try to allocate a new render engine */
|
||||
if (!(re = calloc(1, sizeof(Render_Engine))))
|
||||
return NULL;
|
||||
|
||||
/* return allocated render engine */
|
||||
return re;
|
||||
}
|
||||
|
||||
/* engine functions */
|
||||
|
|
Loading…
Reference in New Issue