Fixed SMAA shaders recompiling with another filenames

This commit is contained in:
Lwmte 2024-12-26 22:14:47 +01:00
parent 315c5ebbf7
commit 2d9f34901b

View file

@ -131,9 +131,9 @@ namespace TEN::Renderer::Utils
// Reset compile counter.
_compileCounter = 0;
LoadAAShaders(width, height, recompileAAShaders); // Should always be the first to have same ID
LoadCommonShaders();
LoadPostprocessShaders();
LoadAAShaders(width, height, recompileAAShaders);
}
void ShaderManager::Bind(Shader shader, bool forceNull)