From d1f7ad251225cdebbaf7d2326b9ebfb6932e6dc8 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 17 Nov 2019 19:36:56 +1000 Subject: [PATCH] HostInterface: Fix display classes not getting destructed --- src/core/host_display.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/host_display.h b/src/core/host_display.h index 7b4510616..bc9643057 100644 --- a/src/core/host_display.h +++ b/src/core/host_display.h @@ -26,6 +26,8 @@ public: OpenGLES }; + virtual ~HostDisplay() {} + virtual RenderAPI GetRenderAPI() const = 0; virtual void* GetHostRenderDevice() const = 0; virtual void* GetHostRenderContext() const = 0;