From 34811e25cb7ec22d5b156cd00485aa82687f000a Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 13 Feb 2021 18:22:39 +0200 Subject: [PATCH] Minor fixes --- source/basicmaterial.h | 2 +- source/batch.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 2.43.0