- move PrepareTexture out of the inner drawer loops
This commit is contained in:
parent
64bdc8c495
commit
80f9c81e36
8 changed files with 8 additions and 6 deletions
|
|
@ -628,6 +628,7 @@ namespace swrenderer
|
|||
short *mceilingclip = zeroarray;
|
||||
|
||||
fixed_t frac = startfrac;
|
||||
thread->PrepareTexture(pic);
|
||||
for (int x = x1; x < x2; x++)
|
||||
{
|
||||
drawerargs.DrawMaskedColumn(thread, x, iscale, pic, frac, spryscale, sprtopscreen, sprflipvert, mfloorclip, mceilingclip, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue