Remove R_InitColumnDrawers and only allow DrawerArgs classes to call drawers
This commit is contained in:
parent
c486892c4a
commit
c574b0ad3f
4 changed files with 29 additions and 49 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue