X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fsproingies.c;h=31852987bcd1239c538ee2fd50a5ec6bf23cc6ab;hp=aa7904562159210b7b65c49e8f8e9e399c974457;hb=5832fe184606766fef23369159306c0a5799aeb0;hpb=af290bcdf2d1c61efc8aaaff653745c900cbe98c diff --git a/hacks/glx/sproingies.c b/hacks/glx/sproingies.c index aa790456..31852987 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,10 +651,11 @@ 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