X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FProgram.hpp;h=d06897231247b1f71bd9d64fe4b460772a3df248;hb=refs%2Fheads%2Fmaster;hp=7e0e93b8fab4700f5bb97e07243922555f24a2f3;hpb=be413456f57da06e918ae7bf4c4f35e5198ff7ce;p=blobs.git diff --git a/src/graphics/Program.hpp b/src/graphics/Program.hpp index 7e0e93b..d068972 100644 --- a/src/graphics/Program.hpp +++ b/src/graphics/Program.hpp @@ -1,10 +1,11 @@ #ifndef BLOBS_GRAPHICS_PROGRAM_HPP_ #define BLOBS_GRAPHICS_PROGRAM_HPP_ -#include "glm.hpp" +#include "../math/glm.hpp" #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;