e_comp_object: do return false in case cw->native passed to e_comp_object_render(). 97/72697/3 submit/tizen/20160602.104157
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 2 Jun 2016 06:27:37 +0000 (15:27 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 2 Jun 2016 06:35:26 +0000 (23:35 -0700)
the function is only effective when buffer is not native.

Change-Id: I2de1c14a9168168f301092c8179bd95d6171b0d5

src/bin/e_comp_object.c

index 07cc6d70c112118df0f56ebcc8ce2c8dd4e1a640..6a28da805a49a3449f71c939bc8f28cb19c150f5 100644 (file)
@@ -3706,6 +3706,7 @@ e_comp_object_render(Evas_Object *obj)
    EINA_SAFETY_ON_NULL_RETURN_VAL(cw->ec, EINA_FALSE);
    if (cw->ec->input_only) return EINA_TRUE;
    if (cw->external_content) return EINA_TRUE;
+   if (cw->native) return EINA_FALSE;
    e_comp_object_render_update_del(obj);
    if (!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph)) return EINA_FALSE;