summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2020-02-14 13:03:58 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-14 13:04:42 +0900
commit9569156b3f2477e5df6ed3907674cc19aca2a798 (patch)
tree35e87ddd06d81cc2ed88d773c2e187ff7b29e479 /src/lib/evas
parentac858162833dc8d54c93cdce8f643813d591f8a0 (diff)
canvas vector: remove unreacheable code.
pd->buffer is always false.
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_image.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_image.c b/src/lib/evas/canvas/efl_canvas_vg_image.c
index 1d0ba1772a..eb5c306ba3 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_image.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_image.c
@@ -49,7 +49,6 @@ _efl_canvas_vg_image_render_pre(Evas_Object_Protected_Data *vg_pd,
49 if (!pd->buffer && pd->image) 49 if (!pd->buffer && pd->image)
50 { 50 {
51 Evas_Object_Protected_Data *obj = vg_pd; 51 Evas_Object_Protected_Data *obj = vg_pd;
52 if (pd->buffer) efl_unref(pd->buffer);
53 pd->buffer = ENFN->ector_buffer_new(ENC, obj->layer->evas->evas, 52 pd->buffer = ENFN->ector_buffer_new(ENC, obj->layer->evas->evas,
54 pd->w, pd->h, 53 pd->w, pd->h,
55 EFL_GFX_COLORSPACE_ARGB8888, 54 EFL_GFX_COLORSPACE_ARGB8888,