fix some uninitialized stuff in ShaderBasedRenderManager

This commit is contained in:
Thoronador 2015-01-02 01:33:40 +01:00
parent 9cc219ff76
commit 3b00a24f3f

View file

@ -103,6 +103,9 @@ public:
mVertexProgramOneTexture(NULL),
mFragmentProgramOneTexture(NULL)
{
mTextureAddressMode.u = Ogre::TextureUnitState::TAM_CLAMP;
mTextureAddressMode.v = Ogre::TextureUnitState::TAM_CLAMP;
mTextureAddressMode.w = Ogre::TextureUnitState::TAM_CLAMP;
}
void initialise(Ogre::RenderWindow* _window, Ogre::SceneManager* _scene)