Convert r_fogboundary to a class

This commit is contained in:
Magnus Norddahl 2017-01-11 21:33:28 +01:00
commit fc29958dc7
3 changed files with 18 additions and 12 deletions

View file

@ -201,7 +201,7 @@ namespace swrenderer
// [RH] Draw fog partition
if (ds->bFogBoundary)
{
R_DrawFogBoundary(x1, x2, mceilingclip, mfloorclip, wallshade, rw_light, rw_lightstep);
RenderFogBoundary::Render(x1, x2, mceilingclip, mfloorclip, wallshade, rw_light, rw_lightstep);
if (ds->maskedtexturecol == -1)
{
goto clearfog;