mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
Fix missing player sprites in some situations when r_scene_multithreaded is on
This commit is contained in:
parent
22d3599ea1
commit
a08f35fe3b
1 changed files with 4 additions and 0 deletions
|
@ -209,6 +209,10 @@ namespace swrenderer
|
||||||
end_condition.wait(end_lock, [&]() { return finished_threads == Threads.size(); });
|
end_condition.wait(end_lock, [&]() { return finished_threads == Threads.size(); });
|
||||||
finished_threads = 0;
|
finished_threads = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Change main thread back to covering the whole screen for player sprites
|
||||||
|
MainThread()->X1 = 0;
|
||||||
|
MainThread()->X2 = viewwidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RenderScene::RenderThreadSlice(RenderThread *thread)
|
void RenderScene::RenderThreadSlice(RenderThread *thread)
|
||||||
|
|
Loading…
Reference in a new issue