X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fprogram.h;h=1ca146f1e998c0fd0d05221a4dab0b66a6da31e6;hb=2e09b4f72f06537431151fe8b2574e1aa886ad48;hp=ecfe1a1991232e0d686c68363d7f1f9b5e8b847c;hpb=6065f6622cc275dc0b20baaf7c267e71169d18f3;p=libs%2Fgl.git diff --git a/source/core/program.h b/source/core/program.h index ecfe1a19..1ca146f1 100644 --- a/source/core/program.h +++ b/source/core/program.h @@ -19,6 +19,8 @@ generated with a set of standard features. */ class Program { + friend class PipelineState; + public: class Loader: public DataFile::CollectionObjectLoader { @@ -168,8 +170,6 @@ public: const AttributeInfo &get_attribute_info(const std::string &) const; int get_attribute_location(const std::string &) const; - unsigned get_id() const { return id; } - void set_debug_name(const std::string &); private: void set_stage_debug_name(unsigned, Stage);