mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Update ShaderManager.cpp
This commit is contained in:
parent
2d9f34901b
commit
0c4402468b
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue