- move PrepareTexture out of the inner drawer loops

This commit is contained in:
Magnus Norddahl 2017-03-15 02:59:33 +01:00
commit 80f9c81e36
8 changed files with 8 additions and 6 deletions

View file

@ -343,6 +343,7 @@ namespace swrenderer
{
RenderTranslucentPass *translucentPass = thread->TranslucentPass.get();
thread->PrepareTexture(tex);
while (x < x2)
{
if (!translucentPass->ClipSpriteColumnWithPortals(x, vis))