evas-gl_cocoa: resize the gl context before resizing the window
authorJean Guyomarc'h <jean@guyomarch.bzh>
Sun, 5 Jun 2016 09:38:49 +0000 (11:38 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Sun, 5 Jun 2016 10:12:02 +0000 (12:12 +0200)
This order seems more right. It does not have a visible
impact though...

src/modules/evas/engines/gl_cocoa/evas_engine.c

index 215cf53..dfe82da 100644 (file)
@@ -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