ecore-wl2: change safety null check to regular null check on surface create

this is a normal case during async init
This commit is contained in:
Mike Blumenkrantz 2017-06-02 18:23:44 -04:00
parent 1e6e5047be
commit f61e2636a5
1 changed files with 1 additions and 1 deletions

View File

@ -500,7 +500,7 @@ surf_err:
static void
_ecore_wl2_window_surface_create(Ecore_Wl2_Window *window)
{
EINA_SAFETY_ON_NULL_RETURN(window->display->wl.compositor);
if (!window->display->wl.compositor) return;
if (!window->surface)
{