commit | 57e92ed7682204976214365ca41d5b556f2c56cf | [log] [tgz] |
---|---|---|
author | Derek Foreman <derekf@osg.samsung.com> | Tue Nov 17 14:11:35 2015 -0600 |
committer | Derek Foreman <derekf@osg.samsung.com> | Thu Nov 26 09:32:43 2015 -0600 |
tree | f9f5d71ff3a26fa18680aa79a8bd4e99886451be | |
parent | 35da52debe5e0d0293b8fb79a586a9965d1ae1e1 [diff] |
compositor: ignore useless surface_damage If we pass negative height or width on to pixman we get error messages in the log. Also, if width or height is 0, there's no damage, so we can early return for that too. Signed-off-by: Derek Foreman <derekf@osg.samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>