X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Fsampler.h;h=bb02269f8c0ec9bcfd4408b3e48fa49702b90e06;hb=dbc91b65728ab9c0e574bb1127cfe4d2da55de7f;hp=f68f1a16183545c315a224017bd7b1ddd292adae;hpb=fcde8390ad577fe434dcd4b29e0f410d29f867c9;p=libs%2Fgl.git diff --git a/source/core/sampler.h b/source/core/sampler.h index f68f1a16..bb02269f 100644 --- a/source/core/sampler.h +++ b/source/core/sampler.h @@ -99,7 +99,6 @@ private: }; unsigned id; - const Texture *owner; TextureFilter min_filter; TextureFilter mag_filter; float max_anisotropy; @@ -113,10 +112,8 @@ private: public: Sampler(); - Sampler(const Texture &); -private: - void init(); +private: void update_parameter(int) const; void set_parameter_i(unsigned, int) const; void set_parameter_f(unsigned, float) const; @@ -165,8 +162,6 @@ public: static void unbind() { unbind_from(0); } static void unbind_from(unsigned); - void unload(); - void set_debug_name(const std::string &); };