summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-25 07:40:51 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-06-26 07:17:36 +0200
commite79d02bf38985b4342a1063a2d1138ecdbd9a69b (patch)
tree2e77b649e6dcb36bd61857a725fb07d9f37b5fff /src/video_core
parentMerge pull request #6528 from ReinUsesLisp/device-memory (diff)
downloadyuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.tar
yuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.tar.gz
yuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.tar.bz2
yuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.tar.lz
yuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.tar.xz
yuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.tar.zst
yuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/buffer_cache/buffer_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h
index 9d726a6fb..a04c7ab0c 100644
--- a/src/video_core/buffer_cache/buffer_cache.h
+++ b/src/video_core/buffer_cache/buffer_cache.h
@@ -99,7 +99,7 @@ class BufferCache {
};
public:
- static constexpr u32 DEFAULT_SKIP_CACHE_SIZE = 4_KiB;
+ static constexpr u32 DEFAULT_SKIP_CACHE_SIZE = static_cast<u32>(4_KiB);
explicit BufferCache(VideoCore::RasterizerInterface& rasterizer_,
Tegra::Engines::Maxwell3D& maxwell3d_,