]> git.tdb.fi Git - libs/gl.git/blobdiff - source/renderpass.h
Make all forms of Batch::append return a reference to itself
[libs/gl.git] / source / renderpass.h
index 934a213e3e815f0f855dfc10ca3b9add2c2193e5..11a9c45b7e8ef36182dc415933534d60f5518951 100644 (file)
@@ -12,7 +12,6 @@ class Material;
 class Program;
 class ProgramData;
 class Renderer;
-class TexEnv;
 class Texture;
 class Texturing;
 
@@ -46,14 +45,12 @@ private:
        private:
                unsigned index;
                RefPtr<Texture> tex;
-               RefPtr<TexEnv> env;
 
        public:
                TextureLoader(Texturing &, unsigned, Collection *);
        private:
                virtual void finish();
 
-               void texenv();
                void texture(const std::string &);
                void texture2d();
        };
@@ -65,10 +62,10 @@ private:
        std::map<std::string, unsigned> tex_names;
        bool back_faces;
 
-       RenderPass &operator=(const RenderPass &);
 public:
        RenderPass();
        RenderPass(const RenderPass &);
+       RenderPass &operator=(const RenderPass &);
        ~RenderPass();
 
        void set_shader_program(const Program *, const ProgramData *);