diff options
author | RSDuck <RSDuck@users.noreply.github.com> | 2021-08-04 14:35:54 +0200 |
---|---|---|
committer | RSDuck <RSDuck@users.noreply.github.com> | 2021-08-04 14:35:54 +0200 |
commit | f900792dc07620b05c9538cec8ff1ac66ea69dd7 (patch) | |
tree | 75e17e514f237ef63a7a605690db4987e10a8572 /src | |
parent | f792d3e6a1cf563967823884da3fe5ef41086cb5 (diff) |
addition to last commit
Diffstat (limited to 'src')
-rw-r--r-- | src/GPU3D_Soft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GPU3D_Soft.cpp b/src/GPU3D_Soft.cpp index a1cf1a2..282bde1 100644 --- a/src/GPU3D_Soft.cpp +++ b/src/GPU3D_Soft.cpp @@ -1646,7 +1646,7 @@ void SoftRenderer::RenderPolygons(bool threaded, Polygon** polygons, int npolys) void SoftRenderer::VCount144() { - if (RenderThreadRunning.load(std::memory_order_relaxed)) + if (RenderThreadRunning.load(std::memory_order_relaxed) && !GPU3D::AbortFrame) Platform::Semaphore_Wait(Sema_RenderDone); } |