evas-gl_cocoa: resize the gl context before resizing the window
This order seems more right. It does not have a visible impact though...
This commit is contained in:
parent
266396b1eb
commit
b2775d90b1
|
@ -159,8 +159,8 @@ eng_output_resize(void *data, int w, int h)
|
||||||
re->win->width = w;
|
re->win->width = w;
|
||||||
re->win->height = h;
|
re->win->height = h;
|
||||||
|
|
||||||
eng_window_resize(re->win, w, h);
|
|
||||||
evas_gl_common_context_resize(re->win->gl_context, w, h, 0);
|
evas_gl_common_context_resize(re->win->gl_context, w, h, 0);
|
||||||
|
eng_window_resize(re->win, w, h);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue