summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/video_core/buffer_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache.h b/src/video_core/buffer_cache.h
index e51f2418c..fa2238a92 100644
--- a/src/video_core/buffer_cache.h
+++ b/src/video_core/buffer_cache.h
@@ -250,7 +250,7 @@ private:
if (auto entry = TryGetReservedBuffer(host_ptr)) {
return entry;
}
- return std::make_shared<Buffer::element_type>(cpu_addr, host_ptr);
+ return std::make_shared<CachedBuffer<BufferStorageType>>(cpu_addr, host_ptr);
}
Buffer TryGetReservedBuffer(u8* host_ptr) {