fix opacity jitter
This commit is contained in:
@@ -330,9 +330,9 @@ bool ShaderManager::load(kShader id, const std::string& path)
|
||||
|
||||
bool ShaderManager::reload()
|
||||
{
|
||||
bool success = true;
|
||||
bool success = false;
|
||||
for (auto& s : m_shaders)
|
||||
success &= s.second.reload();
|
||||
success |= s.second.reload();
|
||||
return success;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user