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.22.tar.gz
[xscreensaver]
/
hacks
/
glx
/
pipes.c
diff --git
a/hacks/glx/pipes.c
b/hacks/glx/pipes.c
index be4ae600b27a0b7e55d360783195feee0ceb1e8d..926b7e332e4c769d6584bd559d3e0426479ee670 100644
(file)
--- a/
hacks/glx/pipes.c
+++ b/
hacks/glx/pipes.c
@@
-33,10
+33,7
@@
static const char sccsid[] = "@(#)pipes.c 4.07 97/11/24 xlockmore";
* Since I'm not a native English speaker, my apologies for any grammatical
* mistake.
*
* Since I'm not a native English speaker, my apologies for any grammatical
* mistake.
*
- * My e-mail addresses are
- *
- * vianna@cat.cbpf.br
- * and
+ * My e-mail address is
* m-vianna@usa.net
* Marcelo F. Vianna (Apr-09-1997)
*
* m-vianna@usa.net
* Marcelo F. Vianna (Apr-09-1997)
*
@@
-64,8
+61,7
@@
static const char sccsid[] = "@(#)pipes.c 4.07 97/11/24 xlockmore";
"*size: 500 \n" \
"*fisheye: True \n" \
"*tightturns: False \n" \
"*size: 500 \n" \
"*fisheye: True \n" \
"*tightturns: False \n" \
- "*rotatepipes: True \n" \
- "*noBuffer: True \n"
+ "*rotatepipes: True \n"
# include "xlockmore.h" /* from the xscreensaver distribution */
#else /* !STANDALONE */
# include "xlock.h" /* from the xlockmore distribution */
# include "xlockmore.h" /* from the xscreensaver distribution */
#else /* !STANDALONE */
# include "xlock.h" /* from the xlockmore distribution */
@@
-640,7
+636,10
@@
init_pipes(ModeInfo * mi)
if ((pp->glx_context = init_GL(mi)) != NULL) {
reshape(mi, MI_WIDTH(mi), MI_HEIGHT(mi));
if ((pp->glx_context = init_GL(mi)) != NULL) {
reshape(mi, MI_WIDTH(mi), MI_HEIGHT(mi));
- pp->initial_rotation = -10.0;
+ if (rotatepipes)
+ pp->initial_rotation = NRAND(180); /* jwz */
+ else
+ pp->initial_rotation = -10.0;
pinit(mi, 1);
if (factory > 0) {
pinit(mi, 1);
if (factory > 0) {