X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fprogram.h;h=f2d7d07672643edb8c83dd4a214bd45a7594be4b;hb=e92de029768eef5f0fd744329e589161b46d0762;hp=a2324f2329cc0fbaa3c8a4a2ea733384d02e6aeb;hpb=fcde8390ad577fe434dcd4b29e0f410d29f867c9;p=libs%2Fgl.git diff --git a/source/core/program.h b/source/core/program.h index a2324f23..f2d7d076 100644 --- a/source/core/program.h +++ b/source/core/program.h @@ -4,7 +4,6 @@ #include #include #include -#include "bindable.h" #include "datatype.h" #include "gl.h" #include "module.h" @@ -20,7 +19,7 @@ class Shader; A complete shader program. Programs can be assembled of individual Shaders or generated with a set of standard features. */ -class Program: public Bindable +class Program { public: class Loader: public DataFile::CollectionObjectLoader @@ -191,8 +190,7 @@ public: const AttributeInfo &get_attribute_info(const std::string &) const; int get_attribute_location(const std::string &) const; - void bind() const; - static void unbind(); + unsigned get_id() const { return id; } void set_debug_name(const std::string &); private: