mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 07:57:51 +00:00
- Changed the "notrelevant" checks in R_RenderMaskedSegRange() to not include equality in their
comparison operators. Fixes one map (http://forum.zdoom.org/viewtopic.php?f=2&t=34082); might break others. Maybe. SVN r4133 (trunk)
This commit is contained in:
parent
951adbb21f
commit
94be9df246
1 changed files with 2 additions and 2 deletions
|
@ -378,12 +378,12 @@ void R_RenderMaskedSegRange (drawseg_t *ds, int x1, int x2)
|
||||||
goto clearfog;
|
goto clearfog;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((fake3D & FAKE3D_CLIPBOTTOM) && textop <= sclipBottom - viewz)
|
if ((fake3D & FAKE3D_CLIPBOTTOM) && textop < sclipBottom - viewz)
|
||||||
{
|
{
|
||||||
notrelevant = true;
|
notrelevant = true;
|
||||||
goto clearfog;
|
goto clearfog;
|
||||||
}
|
}
|
||||||
if ((fake3D & FAKE3D_CLIPTOP) && textop - texheight >= sclipTop - viewz)
|
if ((fake3D & FAKE3D_CLIPTOP) && textop - texheight > sclipTop - viewz)
|
||||||
{
|
{
|
||||||
notrelevant = true;
|
notrelevant = true;
|
||||||
goto clearfog;
|
goto clearfog;
|
||||||
|
|
Loading…
Reference in a new issue