http://packetstormsecurity.org/UNIX/admin/xscreensaver-3.29.tar.gz
[xscreensaver] / hacks / glx / sproingies.c
index aa7904562159210b7b65c49e8f8e9e399c974457..d79ffe579d10a660cc3858465d84f66c8f4e4563 100644 (file)
@@ -596,7 +596,7 @@ ComputeGround(sp_instance * si)
 }
 
 void
-DisplaySproingies(int screen)
+DisplaySproingies(int screen,int pause)
 {
        sp_instance *si = &si_list[screen];
        int         t;
@@ -651,13 +651,13 @@ DisplaySproingies(int screen)
 }
 
 void
-NextSproingieDisplay(int screen)
+NextSproingieDisplay(int screen,int pause)
 {
        NextSproingie(screen);
-       DisplaySproingies(screen);
+        if (pause) usleep(pause);
+       DisplaySproingies(screen,pause);
 }
 
-#if 0
 void
 ReshapeSproingies(int w, int h)
 {
@@ -669,8 +669,6 @@ ReshapeSproingies(int w, int h)
        glLoadIdentity();
 }
 
-#endif
-
 void
 CleanupSproingies(int screen)
 {