mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Forgot a part of the asyncrender revert
This commit is contained in:
parent
ca7a613c2e
commit
57d340701d
|
@ -3314,10 +3314,7 @@ void CClient::Run()
|
||||||
|
|
||||||
bool IsRenderActive = (g_Config.m_GfxBackgroundRender || m_pGraphics->WindowOpen());
|
bool IsRenderActive = (g_Config.m_GfxBackgroundRender || m_pGraphics->WindowOpen());
|
||||||
|
|
||||||
bool AsyncRenderOld = false;
|
bool AsyncRenderOld = g_Config.m_GfxAsyncRenderOld;
|
||||||
#if !defined(CONF_PLATFORM_MACOS)
|
|
||||||
AsyncRenderOld = g_Config.m_GfxAsyncRenderOld;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if(IsRenderActive &&
|
if(IsRenderActive &&
|
||||||
(!AsyncRenderOld || m_pGraphics->IsIdle()) &&
|
(!AsyncRenderOld || m_pGraphics->IsIdle()) &&
|
||||||
|
|
Loading…
Reference in a new issue