Fix Debian 9 compilation

This commit is contained in:
Dennis Felsing 2022-03-21 16:38:12 +01:00
parent e632859707
commit 8adc1ca5de
2 changed files with 2 additions and 1 deletions

View file

@ -95,6 +95,7 @@ CGraphicsBackend_Threaded::CGraphicsBackend_Threaded()
{
m_pBuffer = nullptr;
m_pProcessor = nullptr;
m_Shutdown = true;
m_BufferInProcess.store(false, std::memory_order_relaxed);
}

View file

@ -72,7 +72,7 @@ private:
std::mutex m_BufferSwapMutex;
std::condition_variable m_BufferSwapCond;
CCommandBuffer *m_pBuffer;
std::atomic_bool m_Shutdown = true;
std::atomic_bool m_Shutdown;
bool m_Started = false;
std::atomic_bool m_BufferInProcess;
void *m_Thread;