From ec44f037c17c422cc2a7034f67f75da1062b7c58 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 20 Dec 2001 05:16:59 +0000 Subject: [PATCH] remove the obsolete z buffer prototype code --- libs/video/renderer/gl/gl_sky_clip.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/libs/video/renderer/gl/gl_sky_clip.c b/libs/video/renderer/gl/gl_sky_clip.c index afce2358f..7be55e785 100644 --- a/libs/video/renderer/gl/gl_sky_clip.c +++ b/libs/video/renderer/gl/gl_sky_clip.c @@ -810,27 +810,6 @@ R_DrawSkyChain (msurface_t *sky_chain) return; // XXX not properly implemented } draw_z_sky_polys (sky_chain); -#if 0 - // seems to work, but this is the wrong place to do it. - color_white[3] = 0; - qfglColor4ubv (color_white); - sc = sky_chain; - while (sc) { - glpoly_t *p = sc->polys; - - while (p) { - int i; - - qfglBegin (GL_POLYGON); - for (i = 0; i < p->numverts; i++) { - qfglVertex3fv (p->verts[i]); - } - qfglEnd (); - p = p->next; - } - sc = sc->texturechain; - } -#endif #if 0 qfglDisable (GL_TEXTURE_2D); sc = sky_chain;