X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fsproingies.c;h=31852987bcd1239c538ee2fd50a5ec6bf23cc6ab;hb=0316d74da7982288abddd34e7a62698eb7f79965;hp=aa7904562159210b7b65c49e8f8e9e399c974457;hpb=6bb727f03bff0389fbb1349d7df4c9d8d7532959;p=xscreensaver 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