Remove all kill functions for shader reloading after all shaders
have been deleted.
This commit is contained in:
parent
642216da83
commit
51fb693455
@ -209,6 +209,7 @@ void ShaderBase::updateShaders()
|
|||||||
{
|
{
|
||||||
m_all_kill_functions[i]();
|
m_all_kill_functions[i]();
|
||||||
}
|
}
|
||||||
|
m_all_kill_functions.clear();
|
||||||
} // updateShaders
|
} // updateShaders
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user