projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.13.tar.gz
[xscreensaver]
/
hacks
/
glx
/
flipscreen3d.c
diff --git
a/hacks/glx/flipscreen3d.c
b/hacks/glx/flipscreen3d.c
index ecdd37d7aae29eb5e9171955dff7d2f4baed9f4e..6d5844a99fe5753227dfcbb5081440aa8d5414ec 100644
(file)
--- a/
hacks/glx/flipscreen3d.c
+++ b/
hacks/glx/flipscreen3d.c
@@
-42,6
+42,7
@@
# define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
# endif
# define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
# endif
+#define DEF_ROTATE "True"
static int rotate;
#define QW 12
static int rotate;
#define QW 12
@@
-58,7
+59,7
@@
static XrmOptionDescRec opts[] = {
static argtype vars[] = {
static argtype vars[] = {
- {&rotate, "rotate", "Rotate",
"True"
, t_Bool},
+ {&rotate, "rotate", "Rotate",
DEF_ROTATE
, t_Bool},
};
};
@@
-469,8
+470,6
@@
ENTRYPOINT void init_screenflip(ModeInfo *mi)
c->show_colors[0] = c->show_colors[1] =
c->show_colors[2] = c->show_colors[3] = 1;
c->show_colors[0] = c->show_colors[1] =
c->show_colors[2] = c->show_colors[3] = 1;
- glClearColor(0.0,0.0,0.0,0.0);
-
if (! MI_IS_WIREFRAME(mi))
{
glShadeModel(GL_SMOOTH);
if (! MI_IS_WIREFRAME(mi))
{
glShadeModel(GL_SMOOTH);