mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 20:06:41 +00:00
fix some uninitialized stuff in ShaderBasedRenderManager
This commit is contained in:
parent
9cc219ff76
commit
3b00a24f3f
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue