fix some uninitialized stuff in ShaderBasedRenderManager

moveref
Thoronador 10 years ago
parent 9cc219ff76
commit 3b00a24f3f

@ -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)

Loading…
Cancel
Save