as long as evas uses a global gl context any change to the wl_display
must trigger a full re-create on that context
/* local variables */
static Outbuf *_evas_gl_wl_window = NULL;
static EGLContext context = EGL_NO_CONTEXT;
+static struct wl_display *display = NULL;
static int win_count = 0;
Outbuf *
gw->h = h;
gw->swap_mode = swap_mode;
gw->disp = einfo->info.display;
+ if (display && (display != gw->disp))
+ context = EGL_NO_CONTEXT;
+ display = gw->disp;
gw->surface = einfo->info.surface;
gw->screen = einfo->info.screen;
gw->depth = einfo->info.depth;