From f900792dc07620b05c9538cec8ff1ac66ea69dd7 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Wed, 4 Aug 2021 14:35:54 +0200 Subject: [PATCH] addition to last commit --- src/GPU3D_Soft.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GPU3D_Soft.cpp b/src/GPU3D_Soft.cpp index a1cf1a24..282bde1b 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); }