mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Code optimizations / refactor (#12704)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
ff6dcfea82
commit
038da00e79
38 changed files with 84 additions and 94 deletions
|
@ -86,9 +86,10 @@ void GUIScene::draw()
|
|||
|
||||
core::rect<s32> oldViewPort = m_driver->getViewPort();
|
||||
m_driver->setViewPort(getAbsoluteClippingRect());
|
||||
core::recti borderRect = Environment->getRootGUIElement()->getAbsoluteClippingRect();
|
||||
|
||||
if (m_bgcolor != 0) {
|
||||
core::recti borderRect =
|
||||
Environment->getRootGUIElement()->getAbsoluteClippingRect();
|
||||
Environment->getSkin()->draw3DSunkenPane(
|
||||
this, m_bgcolor, false, true, borderRect, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue