simple-client: Trigger first drawing by hand

dev
Benjamin Franzke 14 years ago
parent cde9bfc805
commit 282019a7df
  1. 3
      clients/simple-client.c

@ -361,8 +361,7 @@ main(int argc, char **argv)
create_surface(&window); create_surface(&window);
init_gl(&window); init_gl(&window);
wl_display_frame_callback(display.display, window.surface, redraw(window.surface, &window, 0);
redraw, &window);
while (true) while (true)
wl_display_iterate(display.display, display.mask); wl_display_iterate(display.display, display.mask);

Loading…
Cancel
Save