Changeset 8351 for code/trunk/src/modules/designtools/ScreenshotManager.cc
- Timestamp:
- Apr 28, 2011, 7:15:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/designtools/ScreenshotManager.cc
r8297 r8351 45 45 #include "core/GraphicsManager.h" 46 46 #include "core/PathConfig.h" 47 #include "core/Resource.h" 47 48 #include "core/command/ConsoleCommand.h" 48 49 #include "util/ScopedSingletonManager.h" … … 111 112 112 113 // 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); 114 this->tempTexture_ = Ogre::TextureManager::getSingleton().createManual("ScreenShotTex", 115 Resource::getDefaultResourceGroup(), Ogre::TEX_TYPE_2D, this->windowWidth_, 116 this->windowHeight_, 0, Ogre::PF_B8G8R8, Ogre::TU_RENDERTARGET); 114 117 115 118 // Get the current render target of the temporary texture
Note: See TracChangeset
for help on using the changeset viewer.