aboutsummaryrefslogtreecommitdiff
path: root/src/GPU3D.cpp
diff options
context:
space:
mode:
authorRSDuck <RSDuck@users.noreply.github.com>2021-01-26 16:42:27 +0100
committerRSDuck <RSDuck@users.noreply.github.com>2021-01-26 16:42:27 +0100
commitb78bc4cb66d29019119349ef31cb4cbadf870cfe (patch)
treee2f3bf4bbcec25c3e254d0f034d28025785dfb6e /src/GPU3D.cpp
parentab222ab135a76c559ef63768e8f90eca99973881 (diff)
fixes to the threadedness of the sw rasteriser
also fix #639 and fix #880
Diffstat (limited to 'src/GPU3D.cpp')
-rw-r--r--src/GPU3D.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/GPU3D.cpp b/src/GPU3D.cpp
index e199d9a..9b41830 100644
--- a/src/GPU3D.cpp
+++ b/src/GPU3D.cpp
@@ -2500,6 +2500,11 @@ void VCount144()
if (GPU::Renderer == 0) SoftRenderer::VCount144();
}
+void RestartFrame()
+{
+ if (GPU::Renderer == 0) SoftRenderer::SetupRenderThread();
+}
+
bool YSort(Polygon* a, Polygon* b)
{