Make spanfunc private and local to SpanDrawerArgs

This commit is contained in:
Magnus Norddahl 2017-01-30 05:26:57 +01:00
commit 36a23d60b8
4 changed files with 19 additions and 5 deletions

View file

@ -1491,7 +1491,7 @@ void DCanvas::FillSimplePoly(FTexture *tex, FVector2 *points, int npoints,
drawerargs.ds_xfrac = xs_RoundToInt(tex.X * scalex);
drawerargs.ds_yfrac = xs_RoundToInt(tex.Y * scaley);
(drawerargs.Drawers()->*drawerargs.spanfunc)(drawerargs);
drawerargs.DrawSpan();
#endif
}
x += xinc;