forked from enlightenment/efl
Evas_3d: Fix warnings.
This commit is contained in:
parent
6797e12bc3
commit
822cbf9759
|
@ -28,8 +28,8 @@ evas_3d_scene_data_fini(Evas_3D_Scene_Public_Data *data)
|
|||
eina_list_free(data->mesh_nodes);
|
||||
}
|
||||
|
||||
static void
|
||||
_eo_evas_3d_scene_eo_evas_3d_object_change_notify(Eo *obj EINA_UNUSED, Evas_3D_Scene_Data *pd, Evas_3D_State state EINA_UNUSED, Evas_3D_Object *ref EINA_UNUSED)
|
||||
EOLIAN static void
|
||||
_eo_evas_3d_scene_eo_evas_3d_object_change_notify(Eo *eo_obj EINA_UNUSED, Evas_3D_Scene_Data *pd, Evas_3D_State state EINA_UNUSED, Evas_3D_Object *ref EINA_UNUSED)
|
||||
{
|
||||
Eina_List *l;
|
||||
Evas_Object *eo;
|
||||
|
|
|
@ -66,7 +66,7 @@ _texture_proxy_subrender(Evas_3D_Texture *obj)
|
|||
Evas_Public_Data *e = eo_data_scope_get(evas, EVAS_CLASS);
|
||||
Evas_3D_Texture_Data *pd = eo_data_scope_get(obj, MY_CLASS);
|
||||
Evas_Object_Protected_Data *source;
|
||||
void *ctx, *image;
|
||||
void *ctx;
|
||||
int w, h;
|
||||
Eina_Bool is_image;
|
||||
|
||||
|
@ -83,7 +83,7 @@ _texture_proxy_subrender(Evas_3D_Texture *obj)
|
|||
|
||||
if (is_image)
|
||||
{
|
||||
image = source->func->engine_data_get(pd->source);
|
||||
void *image = source->func->engine_data_get(pd->source);
|
||||
e->engine.func->image_size_get(e->engine.data.output, image, &w, &h);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue