Skip to content
Snippets Groups Projects
Commit 9de523fd authored by Lioncash's avatar Lioncash
Browse files

rasterizer_cache: Add missing virtual destructor to RasterizerCacheObject

Ensures that destruction will always do the right thing in any context.
parent 29f08277
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ add_library(video_core STATIC ...@@ -21,6 +21,7 @@ add_library(video_core STATIC
macro_interpreter.h macro_interpreter.h
memory_manager.cpp memory_manager.cpp
memory_manager.h memory_manager.h
rasterizer_cache.cpp
rasterizer_cache.h rasterizer_cache.h
rasterizer_interface.h rasterizer_interface.h
renderer_base.cpp renderer_base.cpp
......
// Copyright 2018 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "video_core/rasterizer_cache.h"
RasterizerCacheObject::~RasterizerCacheObject() = default;
...@@ -17,6 +17,8 @@ ...@@ -17,6 +17,8 @@
class RasterizerCacheObject { class RasterizerCacheObject {
public: public:
virtual ~RasterizerCacheObject();
/// Gets the address of the shader in guest memory, required for cache management /// Gets the address of the shader in guest memory, required for cache management
virtual VAddr GetAddr() const = 0; virtual VAddr GetAddr() const = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment