From 9de523fd90f51136b04477c5a91896a9f0b93fb4 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 8 Nov 2018 00:31:35 -0500 Subject: rasterizer_cache: Add missing virtual destructor to RasterizerCacheObject Ensures that destruction will always do the right thing in any context. --- src/video_core/rasterizer_cache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/video_core/rasterizer_cache.h') diff --git a/src/video_core/rasterizer_cache.h b/src/video_core/rasterizer_cache.h index 0a3b3951e..d999c92fa 100644 --- a/src/video_core/rasterizer_cache.h +++ b/src/video_core/rasterizer_cache.h @@ -17,6 +17,8 @@ class RasterizerCacheObject { public: + virtual ~RasterizerCacheObject(); + /// Gets the address of the shader in guest memory, required for cache management virtual VAddr GetAddr() const = 0; -- cgit v1.2.3