When glview mode was set using elm_glview_mode_set() function, it
wasn't properly calling the surface_update function internally.
This can potentially cause the surface to be not updated to the latest
mode that was set by the user. Also removed a call to the surface
update function that was unnecessary.
sd->mode = mode;
+ _glview_update_surface(obj);
elm_glview_changed_set(obj);
if (ret) *ret = EINA_TRUE;
sd->render_policy = policy;
_set_render_policy_callback(obj);
- _glview_update_surface(obj);
}
EAPI void
sd->w = w;
sd->h = h;
- _glview_update_surface(obj);
+ _glview_update_surface(obj);
elm_glview_changed_set(obj);
}