Revert "temp hack cuz lazyy"

This reverts commit 668c493bf4.
This commit is contained in:
Jaklyy 2024-04-19 08:00:29 -04:00
parent 663e72fe3a
commit 39a569bd35

View File

@ -97,7 +97,7 @@ void SoftRenderer::EnableRenderThread()
} }
SoftRenderer::SoftRenderer(bool threaded) noexcept SoftRenderer::SoftRenderer(bool threaded) noexcept
: Renderer3D(false), Accuracy(threaded) : Renderer3D(false), Threaded(threaded)
{ {
Sema_RenderStart = Platform::Semaphore_Create(); Sema_RenderStart = Platform::Semaphore_Create();
Sema_RenderDone = Platform::Semaphore_Create(); Sema_RenderDone = Platform::Semaphore_Create();
@ -106,7 +106,6 @@ SoftRenderer::SoftRenderer(bool threaded) noexcept
RenderThreadRunning = false; RenderThreadRunning = false;
RenderThreadRendering = false; RenderThreadRendering = false;
RenderThread = nullptr; RenderThread = nullptr;
Threaded = true;
} }
SoftRenderer::~SoftRenderer() SoftRenderer::~SoftRenderer()