diff options
Diffstat (limited to 'src/GPU3D_Soft.cpp')
-rw-r--r-- | src/GPU3D_Soft.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/GPU3D_Soft.cpp b/src/GPU3D_Soft.cpp index 98514ab..f7078b5 100644 --- a/src/GPU3D_Soft.cpp +++ b/src/GPU3D_Soft.cpp @@ -71,14 +71,9 @@ void SoftRenderer::SetupRenderThread() } -SoftRenderer::SoftRenderer() +SoftRenderer::SoftRenderer() noexcept : Renderer3D(false) { - -} - -bool SoftRenderer::Init() -{ Sema_RenderStart = Platform::Semaphore_Create(); Sema_RenderDone = Platform::Semaphore_Create(); Sema_ScanlineCount = Platform::Semaphore_Create(); @@ -86,11 +81,9 @@ bool SoftRenderer::Init() Threaded = false; RenderThreadRunning = false; RenderThreadRendering = false; - - return true; } -void SoftRenderer::DeInit() +SoftRenderer::~SoftRenderer() { StopRenderThread(); |