Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 17, 2011, 2:28:23 AM (13 years ago)
Author:
rgrieder
Message:

Fixed serious static initialisation problem. And I thought we caught them all…
Also replaced remaining references to Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP with our own code.

File:
1 edited

Legend:

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

    r7284 r8081  
    1212#include "core/GraphicsManager.h"
    1313#include "core/PathConfig.h"
     14#include "core/Resource.h"
    1415#include "core/command/ConsoleCommand.h"
    1516
     
    4041        //create temporary texture
    4142        mTempTex = Ogre::TextureManager::getSingleton().createManual("ScreenShotTex",
    42                                                                   Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::TEX_TYPE_2D,
    43                                                                     mWindowWidth, mWindowHeight,0, Ogre::PF_B8G8R8, Ogre::TU_RENDERTARGET);
     43                       Resource::getDefaultResourceGroup(), Ogre::TEX_TYPE_2D,
     44                       mWindowWidth, mWindowHeight,0, Ogre::PF_B8G8R8, Ogre::TU_RENDERTARGET);
    4445
    4546        //get The current Render Target of the temp Texture
Note: See TracChangeset for help on using the changeset viewer.