diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-25 07:40:51 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-26 07:17:36 +0200 |
commit | e79d02bf38985b4342a1063a2d1138ecdbd9a69b (patch) | |
tree | 2e77b649e6dcb36bd61857a725fb07d9f37b5fff /src/video_core | |
parent | Merge pull request #6528 from ReinUsesLisp/device-memory (diff) | |
download | yuzu-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.h | 2 |
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_, |