X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FProgram.hpp;h=2add96c290066027544b48afb44a159b74df7b13;hb=f7fdde845eb7bb84ca83ae8cf7361abce8b2086e;hp=7e0e93b8fab4700f5bb97e07243922555f24a2f3;hpb=be413456f57da06e918ae7bf4c4f35e5198ff7ce;p=blobs.git diff --git a/src/graphics/Program.hpp b/src/graphics/Program.hpp index 7e0e93b..2add96c 100644 --- a/src/graphics/Program.hpp +++ b/src/graphics/Program.hpp @@ -5,6 +5,7 @@ #include #include +#include #include @@ -29,7 +30,9 @@ public: void Log(std::ostream &) const; GLint AttributeLocation(const GLchar *name) const noexcept; + GLint AttributeLocation(const std::string &name) const noexcept; GLint UniformLocation(const GLchar *name) const noexcept; + GLint UniformLocation(const std::string &name) const noexcept; void Uniform(GLint, GLint) noexcept; void Uniform(GLint, float) noexcept;