summaryrefslogtreecommitdiff
path: root/viewport.h
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-04-13 14:52:46 +0800
committerKeuin <[email protected]>2022-04-13 14:52:46 +0800
commitd802e8367e7709966747efbe57c90f1b8a08f83b (patch)
tree6d5501d32bbb8a5375ac7ba119c72c601070f4be /viewport.h
parent3caba9694f6e6f0f8b51dcffd7619fa04fbe6c29 (diff)
Use basic_viewport8b if antialiasing is not enabled.
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>;