Only update gears angle in frame handler.
authorKristian Høgsberg <krh@redhat.com>
Mon, 8 Dec 2008 14:39:22 +0000 (09:39 -0500)
committerKristian Høgsberg <krh@redhat.com>
Mon, 8 Dec 2008 14:39:22 +0000 (09:39 -0500)
gears.c

diff --git a/gears.c b/gears.c
index 6310479..e8d3e0b 100644 (file)
--- a/gears.c
+++ b/gears.c
@@ -369,7 +369,6 @@ gears_create(struct wl_display *display, int fd)
        glClearColor(0, 0, 0, 0.92);
 
        draw_gears(gears);
-       gears->angle += 1;
 
        frame_handler(gears->window, 0, 0, gears);