mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Only disable clipping if it was previously enabled
This commit is contained in:
parent
b33c105fbc
commit
91ba786b67
|
@ -198,7 +198,8 @@ void CLayerGroup::Render()
|
|||
}
|
||||
}
|
||||
|
||||
pGraphics->ClipDisable();
|
||||
if(m_UseClipping)
|
||||
pGraphics->ClipDisable();
|
||||
}
|
||||
|
||||
void CLayerGroup::AddLayer(CLayer *pLayer)
|
||||
|
|
Loading…
Reference in a new issue