[Orxonox-commit 5611] r10271 - code/trunk/src/libraries/core
landauf at orxonox.net
landauf at orxonox.net
Sun Feb 15 00:19:13 CET 2015
Author: landauf
Date: 2015-02-15 00:19:13 +0100 (Sun, 15 Feb 2015)
New Revision: 10271
Modified:
code/trunk/src/libraries/core/GUIManager.cc
Log:
bugfix: resize CEGUI if render window changes size
Modified: code/trunk/src/libraries/core/GUIManager.cc
===================================================================
--- code/trunk/src/libraries/core/GUIManager.cc 2015-02-14 21:49:23 UTC (rev 10270)
+++ code/trunk/src/libraries/core/GUIManager.cc 2015-02-14 23:19:13 UTC (rev 10271)
@@ -845,6 +845,7 @@
#else
this->guiRenderer_->setDisplaySize(CEGUI::Size((float)newWidth, (float)newHeight));
#endif
+ this->rootWindow_->setSize(CEGUI::UVector2(CEGUI::UDim(1, newWidth), CEGUI::UDim(1, newHeight)));
}
/**
More information about the Orxonox-commit
mailing list