remove horizonline handling for refraction planes
forgot those wont work with fofs anyways still need to look into that sometime but thisll save some perf
This commit is contained in:
1 parent
038e8f0864
commit
1a7dc425d2
1 file changed
+4
-2
@@ -882,8 +882,9 @@ static void HWR_RenderRefractionPlane(subsector_t *subsector, extrasubsector_t *
|
||||
// this does not need PF_Occlude or smth, treat it as if it wasnt there at all lol
|
||||
GL_DrawWaterPolygon(&Surf, planeVerts, nrPlaneVerts, PF_NoTexture|PF_Ripple); // this does not need a texture
|
||||
|
||||
// not sure if horizonlines even work with this lol
|
||||
if (gl_maphashorizonlines && subsector && cv_glhorizonlines.value)
|
||||
//FIXME: horizonlines with fofs dont work in gl for some reason!
|
||||
(void)subsector;
|
||||
/*if (gl_maphashorizonlines && subsector && cv_glhorizonlines.value)
|
||||
{
|
||||
// Horizon lines
|
||||
FOutVector horizonpts[6];
|
||||
@@ -966,6 +967,7 @@ static void HWR_RenderRefractionPlane(subsector_t *subsector, extrasubsector_t *
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
#undef SETUP3DVERT
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user