Re: [PATCH] Prevent zero sized wl_egl_window

2014-02-13 Thread Yeh, Sinclair
> The below seems fine, but I wonder if we could make this one cause an > error to be returned later where we can, rather than silently ignoring. > I'm not sure where or how, though. Would it make sense to change wl_egl_window_resize() so that it return a value? Either that, or it should be docum

[PATCH] Fixed simple-egl tear-down order to prevent a crash on exit time.

2013-04-19 Thread Yeh, Sinclair
wl_egl_window_destory() distroys the window handle that dri2_destroy_surface() later uses when eglTerminate() is called. Reordering the tear down order prevents such case from occuring. --- clients/simple-egl.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cli