[Orxonox-commit 1584] r6302 - code/branches/presentation2/src/orxonox/gamestates
rgrieder at orxonox.net
rgrieder at orxonox.net
Wed Dec 9 20:44:17 CET 2009
Author: rgrieder
Date: 2009-12-09 20:44:17 +0100 (Wed, 09 Dec 2009)
New Revision: 6302
Modified:
code/branches/presentation2/src/orxonox/gamestates/GSMainMenu.cc
Log:
Fixed cursor not showing in full screen when returning to the main menu.
Modified: code/branches/presentation2/src/orxonox/gamestates/GSMainMenu.cc
===================================================================
--- code/branches/presentation2/src/orxonox/gamestates/GSMainMenu.cc 2009-12-09 19:42:56 UTC (rev 6301)
+++ code/branches/presentation2/src/orxonox/gamestates/GSMainMenu.cc 2009-12-09 19:44:17 UTC (rev 6302)
@@ -82,7 +82,7 @@
void GSMainMenu::activate()
{
// show main menu
- GUIManager::getInstance().showGUI("MainMenu", true, false);
+ GUIManager::getInstance().showGUI("MainMenu", true, GraphicsManager::getInstance().isFullScreen());
GUIManager::getInstance().setCamera(this->camera_);
GUIManager::getInstance().setBackground("MainMenuBackground");
// GUIManager::getInstance().setBackground("");
More information about the Orxonox-commit
mailing list