Remove R_InitColumnDrawers and only allow DrawerArgs classes to call drawers

This commit is contained in:
Magnus Norddahl 2017-01-30 11:53:11 +01:00
commit c574b0ad3f
4 changed files with 29 additions and 49 deletions

View file

@ -147,11 +147,7 @@ void DCanvas::DrawTextureParms(FTexture *img, DrawParms &parms)
static short bottomclipper[MAXWIDTH], topclipper[MAXWIDTH];
const BYTE *translation = NULL;
if (r_swtruecolor != IsBgra())
{
r_swtruecolor = IsBgra();
R_InitColumnDrawers();
}
r_swtruecolor = IsBgra();
if (APART(parms.colorOverlay) != 0)
{