Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 25, 2009, 5:59:10 PM (15 years ago)
Author:
rgrieder
Message:

@Oli: Try this. I previously removed a call to the texture manager setting the default number of mipmaps to 0 because according to the documentation, 0 already is the default value.
Anyway, I really haven't found anything else that doesn't concern exception handling or shutdown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource3/src/core/GraphicsManager.cc

    r5679 r5681  
    4646#include <OgreRenderWindow.h>
    4747#include <OgreRenderSystem.h>
     48#include <OgreTextureManager.h>
    4849#include <OgreViewport.h>
    4950#include <OgreWindowEventUtilities.h>
     
    283284        Ogre::WindowEventUtilities::addWindowEventListener(this->renderWindow_, ogreWindowEventListener_.get());
    284285
     286        Ogre::TextureManager::getSingleton().setDefaultNumMipmaps(0);
     287
    285288        // create a full screen default viewport
    286289        // Note: This may throw when adding a viewport with an existing z-order!
Note: See TracChangeset for help on using the changeset viewer.