X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fsproingies.c;h=d79ffe579d10a660cc3858465d84f66c8f4e4563;hb=3d9140a05b5272fed0883a0af0a71e30ef44d47f;hp=aa7904562159210b7b65c49e8f8e9e399c974457;hpb=6bb727f03bff0389fbb1349d7df4c9d8d7532959;p=xscreensaver diff --git a/hacks/glx/sproingies.c b/hacks/glx/sproingies.c index aa790456..d79ffe57 100644 --- a/hacks/glx/sproingies.c +++ b/hacks/glx/sproingies.c @@ -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) {