aboutsummaryrefslogtreecommitdiff
path: root/src/wl_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wl_window.c')
-rw-r--r--src/wl_window.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/wl_window.c b/src/wl_window.c
index a80eac9..e82d8fa 100644
--- a/src/wl_window.c
+++ b/src/wl_window.c
@@ -701,9 +701,6 @@ static void create_window(struct imv_window *window, int width, int height,
xdg_toplevel_set_title(window->wl_xdg_toplevel, title);
xdg_toplevel_set_app_id(window->wl_xdg_toplevel, "imv");
- wl_surface_commit(window->wl_surface);
- wl_display_roundtrip(window->wl_display);
-
window->egl_window = wl_egl_window_create(window->wl_surface, width, height);
window->egl_surface = eglCreateWindowSurface(window->egl_display, config, window->egl_window, NULL);
eglMakeCurrent(window->egl_display, window->egl_surface, window->egl_surface, window->egl_context);