summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer_cache.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-11-08 00:31:35 -0500
committerGravatar Lioncash2018-11-08 00:31:39 -0500
commit9de523fd90f51136b04477c5a91896a9f0b93fb4 (patch)
tree6917dc7ac56a5888c9030d1c67b0fb2b6296ae2c /src/video_core/rasterizer_cache.h
parentgl_resource_manager: Amend clang-format discrepancies (diff)
downloadyuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.tar.gz
yuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.tar.xz
yuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.zip
rasterizer_cache: Add missing virtual destructor to RasterizerCacheObject
Ensures that destruction will always do the right thing in any context.
Diffstat (limited to 'src/video_core/rasterizer_cache.h')
-rw-r--r--src/video_core/rasterizer_cache.h2
1 files changed, 2 insertions, 0 deletions
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 @@
17 17
18class RasterizerCacheObject { 18class RasterizerCacheObject {
19public: 19public:
20 virtual ~RasterizerCacheObject();
21
20 /// Gets the address of the shader in guest memory, required for cache management 22 /// Gets the address of the shader in guest memory, required for cache management
21 virtual VAddr GetAddr() const = 0; 23 virtual VAddr GetAddr() const = 0;
22 24