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.03.tar.gz
[xscreensaver]
/
hacks
/
glx
/
sproingies.c
diff --git
a/hacks/glx/sproingies.c
b/hacks/glx/sproingies.c
index 31852987bcd1239c538ee2fd50a5ec6bf23cc6ab..20da479b7b2a29b62516035d44e8ec78f319825d 100644
(file)
--- a/
hacks/glx/sproingies.c
+++ b/
hacks/glx/sproingies.c
@@
-93,12
+93,13
@@
build_TopsSides(int wireframe)
/* Surface: Sides */
glNewList(dl_num + 1, GL_COMPILE);
/* Surface: Sides */
glNewList(dl_num + 1, GL_COMPILE);
- mat_color[0] = 0.156863;
- mat_color[1] = 0.156863;
- mat_color[2] = 0.392157;
if (wireframe)
glColor3fv(mat_color);
else {
if (wireframe)
glColor3fv(mat_color);
else {
+ /* jwz: in wireframe mode, color tops and sides the same. */
+ mat_color[0] = 0.156863;
+ mat_color[1] = 0.156863;
+ mat_color[2] = 0.392157;
glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, mat_color);
}
glEndList();
glMaterialfv(GL_FRONT, GL_AMBIENT_AND_DIFFUSE, mat_color);
}
glEndList();
@@
-658,7
+659,6
@@
NextSproingieDisplay(int screen,int pause)
DisplaySproingies(screen,pause);
}
DisplaySproingies(screen,pause);
}
-#if 0
void
ReshapeSproingies(int w, int h)
{
void
ReshapeSproingies(int w, int h)
{
@@
-670,8
+670,6
@@
ReshapeSproingies(int w, int h)
glLoadIdentity();
}
glLoadIdentity();
}
-#endif
-
void
CleanupSproingies(int screen)
{
void
CleanupSproingies(int screen)
{