X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fshader.hpp;h=bb9ad845445acbacc101313e129d9c0c50f39cdc;hb=4ef32c5a4a5bdb6da8383f66d8265715eb2ed4f9;hp=873460bf17644947ee61f3e87e8f5be82ccad2d8;hpb=e74f1ad236429f05db90c0ace825277e2a3fbc05;p=blank.git diff --git a/src/shader.hpp b/src/shader.hpp index 873460b..bb9ad84 100644 --- a/src/shader.hpp +++ b/src/shader.hpp @@ -49,6 +49,7 @@ public: bool Linked() const; void Log(std::ostream &) const; + GLint AttributeLocation(const GLchar *name) const; GLint UniformLocation(const GLchar *name) const; void Use() const { glUseProgram(handle); } @@ -130,7 +131,6 @@ private: glm::mat4 view; glm::mat4 vp; - GLuint m_handle; GLuint mv_handle; GLuint mvp_handle; GLuint light_direction_handle;