projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.x.org/contrib/applications/xscreensaver-3.25.tar.gz
[xscreensaver]
/
hacks
/
glx
/
pulsar.c
diff --git
a/hacks/glx/pulsar.c
b/hacks/glx/pulsar.c
index 8d7260d52bacafe91b7014c7eeb5e52335d57b93..a6b971b77e8d1b7f7ac889c557d79b4aa31e3f1e 100644
(file)
--- a/
hacks/glx/pulsar.c
+++ b/
hacks/glx/pulsar.c
@@
-654,8
+654,8
@@
void GenerateQuad(void)
quads[i].ty = 0.;
quads[i].tz = -10;
quads[i].ty = 0.;
quads[i].tz = -10;
- quads[i].drx =
random() * 5.
;
- quads[i].dry =
random() * 5.
;
+ quads[i].drx =
frand(5.0)
;
+ quads[i].dry =
frand(5.0)
;
quads[i].drz = 0;
}
}
quads[i].drz = 0;
}
}
@@
-735,7
+735,7
@@
void drawQuads(void) {
}
}
}
}
-GLvoid drawScene(
GL
void)
+GLvoid drawScene(void)
{
checkError(__LINE__, __FILE__);
{
checkError(__LINE__, __FILE__);