forked from enlightenment/efl
Wayland_egl: NULL checks to avoid crash with invalid re->win
SVN revision: 76135
This commit is contained in:
parent
1e25d7b701
commit
904e2096f4
|
@ -863,6 +863,8 @@ eng_output_resize(void *data, int w, int h)
|
||||||
Render_Engine *re;
|
Render_Engine *re;
|
||||||
|
|
||||||
re = (Render_Engine *)data;
|
re = (Render_Engine *)data;
|
||||||
|
if (!(re) || !(re->win)) return;
|
||||||
|
|
||||||
re->win->w = w;
|
re->win->w = w;
|
||||||
re->win->h = h;
|
re->win->h = h;
|
||||||
eng_window_use(re->win);
|
eng_window_use(re->win);
|
||||||
|
|
Loading…
Reference in New Issue