summaryrefslogtreecommitdiff
path: root/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'viewport.h')
-rw-r--r--viewport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/viewport.h b/viewport.h
index b4e4e56..74bdfcd 100644
--- a/viewport.h
+++ b/viewport.h
@@ -44,6 +44,7 @@ template<typename T>
class viewport {
public:
virtual bitmap<T> render(const hitlist<T> &world, vec3d viewpoint, uint16_t image_width, uint16_t image_height) = 0;
+ virtual ~viewport() = default;
};
using viewport8b = viewport<uint8_t>;