forked from enlightenment/efl
evas-drm: Remove unused variables and fix build break
Seems Cedric's patch for refactoring setup stage broke building for
the evas drm engine. This patches fixes the issue.
ref 73b308fb66
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
2d2dc4de4b
commit
4a5db373d1
|
@ -75,7 +75,6 @@ eng_info_free(Evas *evas EINA_UNUSED, void *einfo)
|
|||
static void *
|
||||
eng_setup(void *einfo, unsigned int w, unsigned int h)
|
||||
{
|
||||
Render_Engine *re;
|
||||
Evas_Engine_Info_Drm *info = einfo;
|
||||
|
||||
return _render_engine_setup(info, w, h);
|
||||
|
@ -86,14 +85,12 @@ eng_update(void *data, void *einfo, unsigned int w, unsigned int h)
|
|||
{
|
||||
Evas_Engine_Info_Drm *info = einfo;
|
||||
Render_Engine *re = data;
|
||||
Outbuf *ob;
|
||||
|
||||
_outbuf_reconfigure(re->generic.ob, w, h,
|
||||
info->info.rotation, info->info.depth);
|
||||
if (!ob) return 0;
|
||||
|
||||
evas_render_engine_software_generic_update(&re->generic, ob,
|
||||
ob->w, ob->h);
|
||||
evas_render_engine_software_generic_update(&re->generic,
|
||||
re->generic.ob, w, h);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue