X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fglschool_gl.c;h=3afe91bdb7725be4d7b68e9ede690e87836d9030;hb=5f9c47ca98dd43d8f59b7c27d3fde6edfde4fe21;hp=7414838fa84e8c9460579d740a88b9a057b0147d;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/glx/glschool_gl.c b/hacks/glx/glschool_gl.c index 7414838f..3afe91bd 100644 --- 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); +#if 0 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(); } @@ -181,9 +186,8 @@ initFog() 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);