| 123 | } |
| 124 | |
| 125 | void ShaderManager::LoadShaders(int width, int height, bool recompileAAShaders) |
| 126 | { |
| 127 | TENLog("Loading shaders...", LogLevel::Info); |
| 128 | |
| 129 | // Unbind any currently bound shader. |
| 130 | Bind(Shader::None, true); |
| 131 | |
| 132 | // Reset compile counter. |
| 133 | _compileCounter = 0; |
| 134 | |
| 135 | // LoadAAShaders should always be the first in the list, so that when AA settings are changed, |
| 136 | // they recompile with the same index as before. |
| 137 | |
| 138 | LoadAAShaders(width, height, recompileAAShaders); |
| 139 | LoadCommonShaders(); |
| 140 | LoadPostprocessShaders(); |
| 141 | } |
| 142 | |
| 143 | void ShaderManager::Bind(Shader shader, bool forceNull) |
| 144 | { |
no test coverage detected