]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/material.h
Allow materials to return per-texture samplers
[libs/gl.git] / source / materials / material.h
index 43da2542612d7ba50bbb4f4e0d2ee886f7a48483..23f4085760c412dcf01b4dc5e7fd13a062cd6f69 100644 (file)
@@ -105,7 +105,7 @@ public:
 
        virtual const Tag *get_texture_tags() const = 0;
        virtual const Texture *get_texture(Tag) const = 0;
-       const Sampler *get_sampler() const { return sampler; }
+       virtual const Sampler *get_sampler(Tag) const { return sampler; }
 
        void set_debug_name(const std::string &);