Skip to content

Commit

Permalink
addition to last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RSDuck committed Aug 4, 2021
1 parent f792d3e commit f900792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GPU3D_Soft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f900792

Please sign in to comment.