Prevent zero sized wl_egl_window
authorSinclair Yeh <sinclair.yeh@intel.com>
Thu, 13 Feb 2014 00:21:11 +0000 (16:21 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 18 Feb 2014 22:12:11 +0000 (14:12 -0800)
commit6c9d6898fdfd7e23306762af9bf2501a5bca1974
tree14af1919cc863fea0063f6c5561d41926ddc9ef1
parent03597cf802a7a89c4853794e6206ab8ab003898d
Prevent zero sized wl_egl_window

It is illegal to create or resize a window to zero (or negative) width
and/or height.  This patch prevents such a request from happening.
src/egl/wayland/wayland-egl/wayland-egl.c