Update ShaderManager.cpp

This commit is contained in:
Lwmte 2024-12-26 22:23:33 +01:00
parent 2d9f34901b
commit 0c4402468b

View file

@ -131,7 +131,10 @@ namespace TEN::Renderer::Utils
// Reset compile counter.
_compileCounter = 0;
LoadAAShaders(width, height, recompileAAShaders); // Should always be the first to have same ID
// LoadAAShaders should always be the first in the list, so that when AA settings are changed,
// they recompile with the same index as before.
LoadAAShaders(width, height, recompileAAShaders);
LoadCommonShaders();
LoadPostprocessShaders();
}