From 74e1414b1f86d6be0b0100b196b9b112cdda0435 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 6 Dec 2016 23:34:35 +0200 Subject: [PATCH] Add a default tag to render functions that were missing it --- source/environmentmap.h | 2 +- source/occludedscene.h | 2 +- source/shadowmap.h | 2 +- source/text.h | 2 +- source/zsortedscene.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/environmentmap.h b/source/environmentmap.h index 00677946..aa95630f 100644 --- a/source/environmentmap.h +++ b/source/environmentmap.h @@ -42,7 +42,7 @@ public: virtual void setup_frame(Renderer &); virtual void finish_frame(); - virtual void render(Renderer &, const Tag &) const; + virtual void render(Renderer &, const Tag & = Tag()) const; }; } // namespace GL diff --git a/source/occludedscene.h b/source/occludedscene.h index 6f5e23bd..2898bb3f 100644 --- a/source/occludedscene.h +++ b/source/occludedscene.h @@ -52,7 +52,7 @@ public: virtual void setup_frame(Renderer &); virtual void finish_frame(); - virtual void render(Renderer &, const Tag &) const; + virtual void render(Renderer &, const Tag & = Tag()) const; }; } // namespace GL diff --git a/source/shadowmap.h b/source/shadowmap.h index 5f2e16ec..c2c104ac 100644 --- a/source/shadowmap.h +++ b/source/shadowmap.h @@ -55,7 +55,7 @@ public: virtual void setup_frame(Renderer &); virtual void finish_frame(); - virtual void render(Renderer &, const Tag &) const; + virtual void render(Renderer &, const Tag & = Tag()) const; }; } // namespace GL diff --git a/source/text.h b/source/text.h index ab1bfe93..7bf79560 100644 --- a/source/text.h +++ b/source/text.h @@ -76,7 +76,7 @@ public: float get_width() const { return width; } - virtual void render(Renderer &, const Tag &) const; + virtual void render(Renderer &, const Tag & = Tag()) const; operator const Object &() const { return object; } }; diff --git a/source/zsortedscene.h b/source/zsortedscene.h index f7a7f6a2..cb21061b 100644 --- a/source/zsortedscene.h +++ b/source/zsortedscene.h @@ -66,7 +66,7 @@ public: virtual void setup_frame(Renderer &); virtual void finish_frame(); - virtual void render(Renderer &, const Tag &) const; + virtual void render(Renderer &, const Tag & = Tag()) const; }; } // namespace GL -- 2.45.2