mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix Debian 9 compilation
This commit is contained in:
parent
e632859707
commit
8adc1ca5de
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue