Only update gears angle in frame handler.

dev
Kristian Høgsberg 16 years ago
parent 0d77fd484c
commit 7a8431f670
  1. 1
      gears.c

@ -369,7 +369,6 @@ gears_create(struct wl_display *display, int fd)
glClearColor(0, 0, 0, 0.92); glClearColor(0, 0, 0, 0.92);
draw_gears(gears); draw_gears(gears);
gears->angle += 1;
frame_handler(gears->window, 0, 0, gears); frame_handler(gears->window, 0, 0, gears);

Loading…
Cancel
Save