]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texturing.h
Remove a number of rarely used legacy features
[libs/gl.git] / source / texturing.h
index 51070ffa4d06cdbf3291529eef50cb1ca7a27821..daeb2bb812d7bfe62331951070a9fb4977d18490 100644 (file)
@@ -7,7 +7,6 @@
 namespace Msp {
 namespace GL {
 
-class TexEnv;
 class Texture;
 
 class Texturing: public Bindable<Texturing>
@@ -16,7 +15,6 @@ private:
        struct Attachment
        {
                const Texture *tex;
-               const TexEnv *env;
 
                Attachment();
        };
@@ -27,10 +25,9 @@ public:
        ~Texturing();
 
        void attach(unsigned, const Texture &);
-       void attach(unsigned, const Texture &, const TexEnv &);
        void detach(unsigned);
 private:
-       void set_attachment(unsigned, const Texture *, const TexEnv *);
+       void set_attachment(unsigned, const Texture *);
        void bind_attachment(unsigned) const;
 
        static void unbind_attachment(unsigned);