]> git.tdb.fi Git - libs/gl.git/blobdiff - source/program.h
Blender export: Create triangle strips (incomplete)
[libs/gl.git] / source / program.h
index 682ac99fb895b02498a9f9054735f69c558d44a0..a77a70d708102fcf9345e33b80ab273bd97bda9e 100644 (file)
@@ -23,10 +23,11 @@ class Program
 {
 public:
        Program();
-       ~Program();
+       virtual ~Program();
 
        void attach_shader(Shader &shader);
        void detach_shader(Shader &shader);
+       void bind_attribute(int, const std::string &);
        bool link();
        int get_param(GLenum param) const;
        std::string get_info_log() const;