diff options
| author | 2018-11-08 00:31:35 -0500 | |
|---|---|---|
| committer | 2018-11-08 00:31:39 -0500 | |
| commit | 9de523fd90f51136b04477c5a91896a9f0b93fb4 (patch) | |
| tree | 6917dc7ac56a5888c9030d1c67b0fb2b6296ae2c /src/video_core/rasterizer_cache.h | |
| parent | gl_resource_manager: Amend clang-format discrepancies (diff) | |
| download | yuzu-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.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 @@ | |||
| 17 | 17 | ||
| 18 | class RasterizerCacheObject { | 18 | class RasterizerCacheObject { |
| 19 | public: | 19 | public: |
| 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 | ||