]> git.localhorst.tv Git - blank.git/blobdiff - src/shader.hpp
don't push block normals to GPU
[blank.git] / src / shader.hpp
index 873460bf17644947ee61f3e87e8f5be82ccad2d8..bb9ad845445acbacc101313e129d9c0c50f39cdc 100644 (file)
@@ -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;