]> git.tdb.fi Git - libs/gl.git/blobdiff - source/texenv.h
Bind ProgramData to a Program upon construction
[libs/gl.git] / source / texenv.h
index b5fee448d64e5cce152ca4eaa3566e3d4f0c9370..55704e580ecb4719712ffccef86ec2b5f69b495d 100644 (file)
@@ -36,8 +36,9 @@ public:
        void set_color(const Color &);
        TexEnvMode get_mode() const { return mode; }
        const Color &get_color() const { return color; }
-       void bind();
+       void bind() const;
 
+       static const TexEnv *current();
        static void unbind();
 };