Add missing initialization

This commit is contained in:
Andrei Kortunov 2024-02-23 17:01:59 +04:00
parent 6d35b626cf
commit fc1f244627
2 changed files with 1 additions and 3 deletions

View file

@ -316,8 +316,6 @@ Debug::DebugDrawer::DebugDrawer(const DebugDrawer& copy, const osg::CopyOp& copy
Debug::DebugDrawer::DebugDrawer(Shader::ShaderManager& shaderManager)
{
mCurrentFrame = 0;
auto program = shaderManager.getProgram("debug");
setCullingActive(false);