mesa/src/egl
Jonas Ådahl 800ed958c3 wayland: Don't cancel a roundtrip when any event is received
Since wl_display_dispatch_queue() returns the number of processed events
or -1 on error, only cancel the roundtrip if an -1 is returned.

This also fixes a potential memory corruption bug happening when the
roundtrip does an early return and the callback later writes to the then
out of scope stack allocated `done' parameter.

Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
2013-01-03 11:44:55 -05:00
..
docs egl: Mark EGL_MESA_screen_surface as obsolete. 2010-08-31 15:25:22 +08:00
drivers wayland: Don't cancel a roundtrip when any event is received 2013-01-03 11:44:55 -05:00
main egl/android: Fix build for Jelly Bean (v2) 2013-01-02 14:55:36 -08:00
wayland egl/wayland: Don't invalidate drawable on swap buffers 2012-11-30 11:08:04 -05:00
.gitignore automake: Convert src/egl/Makefile to automake. 2012-06-21 09:58:12 -07:00
Makefile.am automake: Convert src/egl/Makefile to automake. 2012-06-21 09:58:12 -07:00