]> git.localhorst.tv Git - blank.git/blobdiff - src/shader.hpp
moved some stuff around
[blank.git] / src / shader.hpp
index c112c533e42109bca7e75ce2839c06f6e82eefa8..aefcffe1f8b54e819f92eb895e3cebfcba9f6cf0 100644 (file)
@@ -2,6 +2,7 @@
 #define BLANK_SHADER_HPP_
 
 #include <iosfwd>
+#include <list>
 #include <GL/glew.h>
 
 
@@ -41,6 +42,7 @@ public:
        Program(const Program &) = delete;
        Program &operator =(const Program &) = delete;
 
+       const Shader &LoadShader(GLenum type, const GLchar *src);
        void Attach(Shader &);
        void Link();
        bool Linked() const;
@@ -52,6 +54,7 @@ public:
 
 private:
        GLuint handle;
+       std::list<Shader> shaders;
 
 };