projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver]
/
hacks
/
glx
/
polytopes.c
diff --git
a/hacks/glx/polytopes.c
b/hacks/glx/polytopes.c
index c99f50d92081e9d5215f535a3d84f0fec23ba8cc..4f401d50a3b9b9b14f45f3fe0976b67a00a0d343 100644
(file)
--- a/
hacks/glx/polytopes.c
+++ b/
hacks/glx/polytopes.c
@@
-90,7
+90,8
@@
static const char sccsid[] = "@(#)polytopes.c 1.2 05/09/28 xlockmore";
#ifdef STANDALONE
# define DEFAULTS "*delay: 25000 \n" \
#ifdef STANDALONE
# define DEFAULTS "*delay: 25000 \n" \
- "*showFPS: False \n"
+ "*showFPS: False \n" \
+ "*suppressRotationAnimation: True\n" \
# define refresh_polytopes 0
# include "xlockmore.h" /* from the xscreensaver distribution */
# define refresh_polytopes 0
# include "xlockmore.h" /* from the xscreensaver distribution */
@@
-100,7
+101,7
@@
static const char sccsid[] = "@(#)polytopes.c 1.2 05/09/28 xlockmore";
#ifdef USE_GL
#ifdef USE_GL
-#ifndef HAVE_
COCOA
+#ifndef HAVE_
JWXYZ
# include <X11/keysym.h>
#endif
#include "gltrackball.h"
# include <X11/keysym.h>
#endif
#include "gltrackball.h"
@@
-2827,6
+2828,7
@@
static void display_polytopes(ModeInfo *mi)
{
gluPerspective(60.0,pp->aspect,0.1,100.0);
}
{
gluPerspective(60.0,pp->aspect,0.1,100.0);
}
+
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();