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
/
glschool_gl.c
diff --git
a/hacks/glx/glschool_gl.c
b/hacks/glx/glschool_gl.c
index 7414838fa84e8c9460579d740a88b9a057b0147d..3afe91bdb7725be4d7b68e9ede690e87836d9030 100644
(file)
--- a/
hacks/glx/glschool_gl.c
+++ b/
hacks/glx/glschool_gl.c
@@
-116,8
+116,13
@@
createDrawLists(BBox *bbox, GLuint *bboxList, GLuint *goalList, GLuint *fishList
*fishList = glGenLists(1);
glNewList(*fishList, GL_COMPILE);
*fishList = glGenLists(1);
glNewList(*fishList, GL_COMPILE);
+#if 0
gluSphere(Quadratic, 2.0, 10, 5);
gluCylinder(Quadratic, 2.0, 0.0, 10.0, 10, 5);
gluSphere(Quadratic, 2.0, 10, 5);
gluCylinder(Quadratic, 2.0, 0.0, 10.0, 10, 5);
+#else
+ gluSphere(Quadratic, 2.0, 3, 2);
+ gluCylinder(Quadratic, 2.0, 0.0, 10.0, 3, 2);
+#endif
glEndList();
}
glEndList();
}
@@
-181,9
+186,8
@@
initFog()
void
initGLEnv(Bool doFog)
{
void
initGLEnv(Bool doFog)
{
- GLfloat
spc[4] = {1.0, 1.0, 1.0, 1.0};
+ GLfloat spc[4] = {1.0, 1.0, 1.0, 1.0};
- glClearColor(0.0, 0.0, 0.0, 0.0);
glClearDepth(1.0);
glDepthFunc(GL_LESS);
glClearDepth(1.0);
glDepthFunc(GL_LESS);