mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
remove the obsolete z buffer prototype code
This commit is contained in:
parent
018481b1ac
commit
ec44f037c1
1 changed files with 0 additions and 21 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue