diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-11-08 00:31:35 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-11-08 00:31:39 -0500 |
| commit | 9de523fd90f51136b04477c5a91896a9f0b93fb4 (patch) | |
| tree | 6917dc7ac56a5888c9030d1c67b0fb2b6296ae2c /src/video_core/rasterizer_cache.h | |
| parent | 29f082775b400c56d7afe45b84ad8821e255f127 (diff) | |
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.h | 2 |
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 @@ class RasterizerCacheObject { public: + virtual ~RasterizerCacheObject(); + /// Gets the address of the shader in guest memory, required for cache management virtual VAddr GetAddr() const = 0; |
