X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fsampler.h;fp=source%2Fcore%2Fsampler.h;h=bb02269f8c0ec9bcfd4408b3e48fa49702b90e06;hb=dbc91b65728ab9c0e574bb1127cfe4d2da55de7f;hp=f68f1a16183545c315a224017bd7b1ddd292adae;hpb=f1244e29afd2a36aafc2373d485457b4cb0411ff;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 &); };