Wayland_egl: NULL checks to avoid crash with invalid re->win

SVN revision: 76135
This commit is contained in:
Eduardo de Barros Lima 2012-09-04 18:27:29 +00:00
parent 1e25d7b701
commit 904e2096f4
1 changed files with 2 additions and 0 deletions

View File

@ -863,6 +863,8 @@ eng_output_resize(void *data, int w, int h)
Render_Engine *re;
re = (Render_Engine *)data;
if (!(re) || !(re->win)) return;
re->win->w = w;
re->win->h = h;
eng_window_use(re->win);