From: Mikko Rasa Date: Sat, 13 Feb 2021 16:22:39 +0000 (+0200) Subject: Minor fixes X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=34811e25cb7ec22d5b156cd00485aa82687f000a Minor fixes --- diff --git a/source/basicmaterial.h b/source/basicmaterial.h index 73bb38e9..95259f47 100644 --- a/source/basicmaterial.h +++ b/source/basicmaterial.h @@ -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 *); diff --git a/source/batch.h b/source/batch.h index 6fb013af..2e4ad9ef 100644 --- a/source/batch.h +++ b/source/batch.h @@ -35,7 +35,6 @@ private: PrimitiveType prim_type; DataType index_type; std::vector data; - unsigned min_index; unsigned max_index; bool restart;