Only disable clipping if it was previously enabled

This commit is contained in:
Robert Müller 2022-11-14 22:11:35 +01:00
parent b33c105fbc
commit 91ba786b67

View file

@ -198,7 +198,8 @@ void CLayerGroup::Render()
}
}
pGraphics->ClipDisable();
if(m_UseClipping)
pGraphics->ClipDisable();
}
void CLayerGroup::AddLayer(CLayer *pLayer)