Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10271


Ignore:
Timestamp:
Feb 15, 2015, 12:19:13 AM (10 years ago)
Author:
landauf
Message:

bugfix: resize CEGUI if render window changes size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/GUIManager.cc

    r9759 r10271  
    846846        this->guiRenderer_->setDisplaySize(CEGUI::Size((float)newWidth, (float)newHeight));
    847847#endif
     848        this->rootWindow_->setSize(CEGUI::UVector2(CEGUI::UDim(1, newWidth), CEGUI::UDim(1, newHeight)));
    848849    }
    849850
Note: See TracChangeset for help on using the changeset viewer.