From: Mikko Rasa Date: Tue, 6 Dec 2016 21:34:35 +0000 (+0200) Subject: Add a default tag to render functions that were missing it X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=74e1414b1f86d6be0b0100b196b9b112cdda0435;p=libs%2Fgl.git Add a default tag to render functions that were missing it --- 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