temp hack cuz lazyy

This commit is contained in:
Jaklyy 2024-04-19 06:29:46 -04:00
parent 95faca402a
commit 668c493bf4

View File

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