From 8f67dd5ae9aef228b1316600d58e7b7c8880fb3a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 13 Mar 2021 19:07:14 +0000 Subject: Add missing virtual destructor in Renderable --- gfx/renderable.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gfx') diff --git a/gfx/renderable.h b/gfx/renderable.h index e3a34dd..dea36c6 100644 --- a/gfx/renderable.h +++ b/gfx/renderable.h @@ -1,10 +1,16 @@ #ifndef RENDERABLE_H #define RENDERABLE_H +#include + class Shader; class Renderable { public: + Renderable() = default; + virtual ~Renderable() = default; + DEFAULT_MOVE_COPY(Renderable); + virtual void render(const Shader & shader) const = 0; }; -- cgit v1.2.3