forked from enlightenment/efl
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:
parent
1e6e5047be
commit
f61e2636a5
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue