X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Fsampler.h;h=852c971003359bb7d0f0341dd97becef7242017d;hb=4e20afbda6adb0008e286bf7fb947438aeb7a97e;hp=524a8fc5f95f01fbee29faa87a7f731c50b0e55d;hpb=97b1f1d97b685155e279d9d02d7c6343ef233ae8;p=libs%2Fgl.git diff --git a/source/core/sampler.h b/source/core/sampler.h index 524a8fc5..852c9710 100644 --- a/source/core/sampler.h +++ b/source/core/sampler.h @@ -63,6 +63,8 @@ wrapping is applied. The default for all directions is REPEAT. */ class Sampler { + friend class PipelineState; + public: class Loader: public DataFile::ObjectLoader { @@ -152,8 +154,6 @@ public: void refresh() const { if(dirty_params) update(); } - unsigned get_id() const { return id; } - void set_debug_name(const std::string &); };