aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-12-08 08:42:35 -0500
committerChris Michael <cp.michael@samsung.com>2016-12-08 08:43:43 -0500
commit4a5db373d16b50ef6334a083e6578334f695dd16 (patch)
tree2a9bfba337a452b63db8631f6a46dc573ae0dc34
parentecore_con_server_example: allow more features and protocols to be used. (diff)
downloadefl-4a5db373d16b50ef6334a083e6578334f695dd16.tar.gz
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 73b308fb66f871b93ef8e324997872e3bf175906 Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/evas/engines/drm/evas_engine.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/evas/engines/drm/evas_engine.c b/src/modules/evas/engines/drm/evas_engine.c
index 6cbc0670bf..810faa767b 100644
--- a/src/modules/evas/engines/drm/evas_engine.c
+++ b/src/modules/evas/engines/drm/evas_engine.c
@@ -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;
}