forked from enlightenment/efl
Evas filters: Fix uninitialized memory access and unsupported call
This commit is contained in:
parent
9c1b323bd3
commit
c471ee03d6
|
@ -149,6 +149,7 @@ _proxy_subrender(Evas *eo_e, Evas_Object *eo_source, Evas_Object *eo_proxy,
|
||||||
{
|
{
|
||||||
Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS);
|
Evas_Public_Data *e = eo_data_scope_get(eo_e, EVAS_CLASS);
|
||||||
Evas_Object_Protected_Data *source;
|
Evas_Object_Protected_Data *source;
|
||||||
|
Eina_Bool source_clip = EINA_FALSE;
|
||||||
void *ctx;
|
void *ctx;
|
||||||
int w, h;
|
int w, h;
|
||||||
|
|
||||||
|
@ -194,9 +195,8 @@ _proxy_subrender(Evas *eo_e, Evas_Object *eo_source, Evas_Object *eo_proxy,
|
||||||
|
|
||||||
ctx = e->engine.func->context_new(e->engine.data.output);
|
ctx = e->engine.func->context_new(e->engine.data.output);
|
||||||
|
|
||||||
// FIXME: Not implemented for class Evas_Text.
|
if (eo_isa(eo_proxy, EVAS_OBJ_IMAGE_CLASS))
|
||||||
Eina_Bool source_clip;
|
eo_do(eo_proxy, evas_obj_image_source_clip_get(&source_clip));
|
||||||
eo_do(eo_proxy, evas_obj_image_source_clip_get(&source_clip));
|
|
||||||
|
|
||||||
Evas_Proxy_Render_Data proxy_render_data = {
|
Evas_Proxy_Render_Data proxy_render_data = {
|
||||||
.eo_proxy = eo_proxy,
|
.eo_proxy = eo_proxy,
|
||||||
|
|
Loading…
Reference in New Issue