X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fprogram.h;h=a77a70d708102fcf9345e33b80ab273bd97bda9e;hb=79b9a1c86ecf81753934669d531679f29c6ab6e1;hp=682ac99fb895b02498a9f9054735f69c558d44a0;hpb=1431f24f29bd6862d547b831c40b2686ff56d1ef;p=libs%2Fgl.git diff --git a/source/program.h b/source/program.h index 682ac99f..a77a70d7 100644 --- a/source/program.h +++ b/source/program.h @@ -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;