]> git.tdb.fi Git - libs/gl.git/commitdiff
Minor fixes
authorMikko Rasa <tdb@tdb.fi>
Sat, 13 Feb 2021 16:22:39 +0000 (18:22 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 13 Feb 2021 18:54:23 +0000 (20:54 +0200)
source/basicmaterial.h
source/batch.h

index 73bb38e911d439ca38e70eed5278598ccd17a891..95259f476b233198856c49a42391049f54f6b0b5 100644 (file)
@@ -38,7 +38,7 @@ protected:
        virtual std::string create_program_source() const;
 
 public:
-       void attach_textures_to(Texturing &, ProgramData &) const;
+       virtual void attach_textures_to(Texturing &, ProgramData &) const;
 
        void set_diffuse(const Color &);
        void set_diffuse_map(const Texture *);
index 6fb013af68e8de626757392a2e4644d9c734d2d8..2e4ad9ef3005d9d01c15dbdc4d119ce79f570460 100644 (file)
@@ -35,7 +35,6 @@ private:
        PrimitiveType prim_type;
        DataType index_type;
        std::vector<UInt8> data;
-       unsigned min_index;
        unsigned max_index;
        bool restart;