diff options
Diffstat (limited to 'source/30-game/Material.cpp')
-rw-r--r-- | source/30-game/Material.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/30-game/Material.cpp b/source/30-game/Material.cpp index 9b0c42d..4443ae5 100644 --- a/source/30-game/Material.cpp +++ b/source/30-game/Material.cpp @@ -33,7 +33,7 @@ bool TryFindShaderId(Shader* shader, std::string_view name, int& out) { return true; } -template <class TUniform> +template <typename TUniform> TUniform& ObtainUniform(Shader* shader, const char* name, std::vector<TUniform>& uniforms, GLint location) { for (auto& uniform : uniforms) { if (uniform.location == location) { |