- 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
|
|
@ -163,6 +163,9 @@ namespace swrenderer
|
|||
drawerargs.SetLight(&NormalLight, 0, 0);
|
||||
}
|
||||
|
||||
Thread->PrepareTexture(frontskytex);
|
||||
Thread->PrepareTexture(backskytex);
|
||||
|
||||
DrawSky(pl);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue