compositor-wayland: Create border after creating the OpenGL context.
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c
index d665641..05f21c2 100644
--- a/src/compositor-wayland.c
+++ b/src/compositor-wayland.c
@@ -843,13 +843,14 @@
c->base.destroy = wayland_destroy;
c->base.restore = wayland_restore;
- create_border(c);
if (wayland_compositor_create_output(c, width, height) < 0)
goto err_display;
if (gles2_renderer_init(&c->base) < 0)
goto err_display;
+ create_border(c);
+
loop = wl_display_get_event_loop(c->base.wl_display);
fd = wl_display_get_fd(c->parent.wl_display, update_event_mask, c);