mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
fix some uninitialized stuff in ShaderBasedRenderManager
This commit is contained in:
parent
9cc219ff76
commit
3b00a24f3f
@ -103,6 +103,9 @@ public:
|
|||||||
mVertexProgramOneTexture(NULL),
|
mVertexProgramOneTexture(NULL),
|
||||||
mFragmentProgramOneTexture(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)
|
void initialise(Ogre::RenderWindow* _window, Ogre::SceneManager* _scene)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user