Ticket #2862: fix-2862-valgrind-CLOSTexture-dtor.patch
File fix-2862-valgrind-CLOSTexture-dtor.patch, 760 bytes (added by , 10 years ago) |
---|
-
source/graphics/LOSTexture.cpp
58 58 static const size_t g_SubTextureAlignment = 4; 59 59 60 60 CLOSTexture::CLOSTexture(CSimulation2& simulation) : 61 m_Simulation(simulation), m_Dirty(true), m_ShaderInitialized(false), m_Texture(0), m_ smoothFbo(0), m_MapSize(0), m_TextureSize(0), whichTex(true)61 m_Simulation(simulation), m_Dirty(true), m_ShaderInitialized(false), m_Texture(0), m_TextureSmooth1(0), m_TextureSmooth2(0), m_smoothFbo(0), m_MapSize(0), m_TextureSize(0), whichTex(true) 62 62 { 63 63 if (CRenderer::IsInitialised() && g_Renderer.m_Options.m_SmoothLOS) 64 64 CreateShader();