mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
parent
663e72fe3a
commit
39a569bd35
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user