Merge pull request #1661 from lioncash/dtor

rasterizer_cache: Add missing virtual destructor to RasterizerCacheObject
master
James Rowe 2018-11-10 11:08:55 +07:00 committed by GitHub
commit c21a6c6b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

@ -21,6 +21,7 @@ add_library(video_core STATIC
macro_interpreter.h
memory_manager.cpp
memory_manager.h
rasterizer_cache.cpp
rasterizer_cache.h
rasterizer_interface.h
renderer_base.cpp

@ -0,0 +1,7 @@
// 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 @@
class RasterizerCacheObject {
public:
virtual ~RasterizerCacheObject();
/// Gets the address of the shader in guest memory, required for cache management
virtual VAddr GetAddr() const = 0;