projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.02.tar.gz
[xscreensaver]
/
hacks
/
glx
/
sproingies.c
diff --git
a/hacks/glx/sproingies.c
b/hacks/glx/sproingies.c
index aa7904562159210b7b65c49e8f8e9e399c974457..d79ffe579d10a660cc3858465d84f66c8f4e4563 100644
(file)
--- a/
hacks/glx/sproingies.c
+++ b/
hacks/glx/sproingies.c
@@
-596,7
+596,7
@@
ComputeGround(sp_instance * si)
}
void
}
void
-DisplaySproingies(int screen)
+DisplaySproingies(int screen
,int pause
)
{
sp_instance *si = &si_list[screen];
int t;
{
sp_instance *si = &si_list[screen];
int t;
@@
-651,13
+651,13
@@
DisplaySproingies(int screen)
}
void
}
void
-NextSproingieDisplay(int screen)
+NextSproingieDisplay(int screen
,int pause
)
{
NextSproingie(screen);
{
NextSproingie(screen);
- DisplaySproingies(screen);
+ if (pause) usleep(pause);
+ DisplaySproingies(screen,pause);
}
}
-#if 0
void
ReshapeSproingies(int w, int h)
{
void
ReshapeSproingies(int w, int h)
{
@@
-669,8
+669,6
@@
ReshapeSproingies(int w, int h)
glLoadIdentity();
}
glLoadIdentity();
}
-#endif
-
void
CleanupSproingies(int screen)
{
void
CleanupSproingies(int screen)
{