simple-client: Remove unnecessary flush

dev
Kristian Høgsberg 14 years ago
parent 1a11fac8fa
commit ad67af1bcc
  1. 2
      clients/simple-client.c

@ -226,8 +226,6 @@ create_surface(struct window *window)
window->geometry.width, window->geometry.width,
window->geometry.height, window->geometry.height,
stride, visual); stride, visual);
/* Process wl_drm_create_buffer. */
wl_display_iterate(display->display, WL_DISPLAY_WRITABLE);
wl_surface_attach(window->drm_surface.surface, wl_surface_attach(window->drm_surface.surface,
window->drm_surface.buffer, 0, 0); window->drm_surface.buffer, 0, 0);

Loading…
Cancel
Save