simple-client: Trigger first drawing by hand

This commit is contained in:
Benjamin Franzke 2011-06-21 09:53:15 +02:00
parent cde9bfc805
commit 282019a7df

View File

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