From: Jean Guyomarc'h Date: Sun, 5 Jun 2016 09:38:49 +0000 (+0200) Subject: evas-gl_cocoa: resize the gl context before resizing the window X-Git-Tag: upstream/1.20.0~5969 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2775d90b1b92f5d037bf884ac4def0e7b3b3343;p=platform%2Fupstream%2Fefl.git evas-gl_cocoa: resize the gl context before resizing the window This order seems more right. It does not have a visible impact though... --- diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.c b/src/modules/evas/engines/gl_cocoa/evas_engine.c index 215cf53..dfe82da 100644 --- a/src/modules/evas/engines/gl_cocoa/evas_engine.c +++ b/src/modules/evas/engines/gl_cocoa/evas_engine.c @@ -159,8 +159,8 @@ eng_output_resize(void *data, int w, int h) re->win->width = w; re->win->height = h; - eng_window_resize(re->win, w, h); evas_gl_common_context_resize(re->win->gl_context, w, h, 0); + eng_window_resize(re->win, w, h); } static void