Summary:
_ecore_evas_wl_common_new_internal() creates both wayland_egl and
wayland_shm backed windows, so reporting that the failure was in looking
up "Wayland_Shm" could be misleading.
Also, this routine can be called with any arbitrary string as
engine_name, so including what was received in the error message might
be helpful for diagnosing bugs.
Reviewers: cedric
Reviewed By: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4897
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
static void _ecore_evas_wayland_resize(Ecore_Evas *ee, int location);
/* local functions */
-static void
+static void
_ecore_evas_wl_common_state_update(Ecore_Evas *ee)
{
if (ee->func.fn_state_change) ee->func.fn_state_change(ee);
if (!(method = evas_render_method_lookup(engine_name)))
{
- ERR("Render method lookup failed for Wayland_Shm");
+ ERR("Render method lookup failed for %s", engine_name);
return NULL;
}