From ec8804cfd83a0d8d89117019451a82ea58d77379 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 30 Mar 2018 22:03:50 +0200 Subject: [PATCH] - added missing virtual destructor to DFrameBuffer. Previously it inherited this from DCanvas but now both classes are no longer related. --- src/v_video.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v_video.h b/src/v_video.h index cee9d63d55..0faef44023 100644 --- a/src/v_video.h +++ b/src/v_video.h @@ -304,6 +304,7 @@ protected: public: DFrameBuffer (int width, int height, bool bgra); + virtual ~DFrameBuffer() {} inline int GetWidth() const { return Width; } inline int GetHeight() const { return Height; }