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 d79ffe579d10a660cc3858465d84f66c8f4e4563..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();