summaryrefslogtreecommitdiff
path: root/gfx/renderable.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-03-13 19:07:14 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-03-13 19:13:24 +0000
commit8f67dd5ae9aef228b1316600d58e7b7c8880fb3a (patch)
tree218d3a525e45d304158ec998f6764e4161e38d25 /gfx/renderable.h
parentAdd generic middle classes LinkStraight and LinkCurve (diff)
downloadilt-8f67dd5ae9aef228b1316600d58e7b7c8880fb3a.tar.bz2
ilt-8f67dd5ae9aef228b1316600d58e7b7c8880fb3a.tar.xz
ilt-8f67dd5ae9aef228b1316600d58e7b7c8880fb3a.zip
Add missing virtual destructor in Renderable
Diffstat (limited to 'gfx/renderable.h')
-rw-r--r--gfx/renderable.h6
1 files changed, 6 insertions, 0 deletions
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 <special_members.hpp>
+
class Shader;
class Renderable {
public:
+ Renderable() = default;
+ virtual ~Renderable() = default;
+ DEFAULT_MOVE_COPY(Renderable);
+
virtual void render(const Shader & shader) const = 0;
};