Fix some r_scene_multithreaded related bugs
This commit is contained in:
parent
4cd994c027
commit
fb87f90d86
3 changed files with 18 additions and 9 deletions
|
|
@ -91,7 +91,8 @@ namespace swrenderer
|
|||
}
|
||||
|
||||
static std::mutex loadmutex;
|
||||
void RenderThread::PrepareTexture(FSoftwareTexture *texture, FRenderStyle style) {
|
||||
void RenderThread::PrepareTexture(FSoftwareTexture *texture, FRenderStyle style)
|
||||
{
|
||||
if (texture == nullptr)
|
||||
return;
|
||||
|
||||
|
|
@ -116,7 +117,7 @@ namespace swrenderer
|
|||
bool alpha = !!(style.Flags & STYLEF_RedIsAlpha);
|
||||
texture->GetPixels(alpha);
|
||||
texture->GetColumn(alpha, 0, &spans);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static std::mutex polyobjmutex;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue