Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 21, 2011, 8:29:30 PM (14 years ago)
Author:
rgrieder
Message:

Resource::DEFAULT_GROUP has been replaced and Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME should not be used anymore in Orxonox.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/src/modules/designtools/ScreenshotManager.cc

    r8284 r8288  
    111111
    112112            // Create temporary texture
    113             this->tempTexture_ = Ogre::TextureManager::getSingleton().createManual("ScreenShotTex", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::TEX_TYPE_2D, this->windowWidth_, this->windowHeight_, 0, Ogre::PF_B8G8R8, Ogre::TU_RENDERTARGET);
     113            this->tempTexture_ = Ogre::TextureManager::getSingleton().createManual("ScreenShotTex",
     114                Resource::getDefaultResourceGroup(), Ogre::TEX_TYPE_2D, this->windowWidth_,
     115                this->windowHeight_, 0, Ogre::PF_B8G8R8, Ogre::TU_RENDERTARGET);
    114116
    115117            // Get the current render target of the temporary texture
Note: See TracChangeset for help on using the changeset viewer.