diff --git a/src/graphics/shader.cpp b/src/graphics/shader.cpp index f7a56e0d3..9baf07ca4 100644 --- a/src/graphics/shader.cpp +++ b/src/graphics/shader.cpp @@ -209,6 +209,7 @@ void ShaderBase::updateShaders() { m_all_kill_functions[i](); } + m_all_kill_functions.clear(); } // updateShaders // ----------------------------------------------------------------------------