mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Remove wallshade global from R_DrawFogBoundary
This commit is contained in:
parent
6fd3691da4
commit
918904074a
3 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ namespace swrenderer
|
|||
short spanend[MAXHEIGHT];
|
||||
}
|
||||
|
||||
void R_DrawFogBoundary(int x1, int x2, short *uclip, short *dclip)
|
||||
void R_DrawFogBoundary(int x1, int x2, short *uclip, short *dclip, int wallshade)
|
||||
{
|
||||
// This is essentially the same as R_MapVisPlane but with an extra step
|
||||
// to create new horizontal spans whenever the light changes enough that
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
|
||||
namespace swrenderer
|
||||
{
|
||||
void R_DrawFogBoundary(int x1, int x2, short *uclip, short *dclip);
|
||||
void R_DrawFogBoundary(int x1, int x2, short *uclip, short *dclip, int wallshade);
|
||||
void R_DrawFogBoundarySection(int y, int y2, int x1);
|
||||
}
|
||||
|
|
|
@ -272,7 +272,7 @@ void R_RenderMaskedSegRange (drawseg_t *ds, int x1, int x2)
|
|||
// [RH] Draw fog partition
|
||||
if (ds->bFogBoundary)
|
||||
{
|
||||
R_DrawFogBoundary (x1, x2, mceilingclip, mfloorclip);
|
||||
R_DrawFogBoundary (x1, x2, mceilingclip, mfloorclip, wallshade);
|
||||
if (ds->maskedtexturecol == -1)
|
||||
{
|
||||
goto clearfog;
|
||||
|
|
Loading…
Reference in a new issue