summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-08 06:31:35 +0100
committerLioncash <mathew1800@gmail.com>2018-11-08 06:31:39 +0100
commit9de523fd90f51136b04477c5a91896a9f0b93fb4 (patch)
tree6917dc7ac56a5888c9030d1c67b0fb2b6296ae2c /src/video_core
parentgl_resource_manager: Amend clang-format discrepancies (diff)
downloadyuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.tar
yuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.tar.gz
yuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.tar.bz2
yuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.tar.lz
yuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.tar.xz
yuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.tar.zst
yuzu-9de523fd90f51136b04477c5a91896a9f0b93fb4.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/CMakeLists.txt1
-rw-r--r--src/video_core/rasterizer_cache.cpp7
-rw-r--r--src/video_core/rasterizer_cache.h2
3 files changed, 10 insertions, 0 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index 0b1cc1290..a780215c1 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -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
diff --git a/src/video_core/rasterizer_cache.cpp b/src/video_core/rasterizer_cache.cpp
new file mode 100644
index 000000000..093b2cdf4
--- /dev/null
+++ b/src/video_core/rasterizer_cache.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;
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;