[Orxonox-commit 1746] r6464 - code/branches/network2/src/libraries/core

scheusso at orxonox.net scheusso at orxonox.net
Wed Mar 3 20:56:01 CET 2010


Author: scheusso
Date: 2010-03-03 20:56:01 +0100 (Wed, 03 Mar 2010)
New Revision: 6464

Modified:
   code/branches/network2/src/libraries/core/GraphicsManager.cc
Log:
setting default number of mipmaps to unlimited (was 0 before)


Modified: code/branches/network2/src/libraries/core/GraphicsManager.cc
===================================================================
--- code/branches/network2/src/libraries/core/GraphicsManager.cc	2010-03-02 08:57:05 UTC (rev 6463)
+++ code/branches/network2/src/libraries/core/GraphicsManager.cc	2010-03-03 19:56:01 UTC (rev 6464)
@@ -317,7 +317,7 @@
         //       no ScopeGuards or anything to handle exceptions.
         this->viewport_ = this->renderWindow_->addViewport(0, 0);
 
-        Ogre::TextureManager::getSingleton().setDefaultNumMipmaps(0);
+        Ogre::TextureManager::getSingleton().setDefaultNumMipmaps(MIP_UNLIMITED);
 
         // add console commands
         ccPrintScreen_ = createConsoleCommand(createFunctor(&GraphicsManager::printScreen, this), "printScreen");




More information about the Orxonox-commit mailing list