Fix texture loading race condition and improve performance by only locking the load mutex if data hasn't already been updated for this frame
This commit is contained in:
parent
d1f47afd96
commit
61d49a2007
13 changed files with 98 additions and 111 deletions
|
|
@ -270,8 +270,6 @@ namespace swrenderer
|
|||
portalfloorclip[x] = mfloorclip[x];
|
||||
}
|
||||
|
||||
thread->PrepareTexture(pic, RenderStyle);
|
||||
|
||||
ProjectedWallLight mlight;
|
||||
mlight.SetSpriteLight();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue