remove the obsolete z buffer prototype code

This commit is contained in:
Bill Currie 2001-12-20 05:16:59 +00:00
parent 018481b1ac
commit ec44f037c1

View file

@ -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;