diff options
| author | 2021-06-25 02:40:51 -0300 | |
|---|---|---|
| committer | 2021-06-26 02:17:36 -0300 | |
| commit | e79d02bf38985b4342a1063a2d1138ecdbd9a69b (patch) | |
| tree | 2e77b649e6dcb36bd61857a725fb07d9f37b5fff | |
| parent | Merge pull request #6528 from ReinUsesLisp/device-memory (diff) | |
| download | yuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.tar.gz yuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.tar.xz yuzu-e79d02bf38985b4342a1063a2d1138ecdbd9a69b.zip | |
buffer_cache: Silence implicit cast warning
| -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 { | |||
| 99 | }; | 99 | }; |
| 100 | 100 | ||
| 101 | public: | 101 | public: |
| 102 | static constexpr u32 DEFAULT_SKIP_CACHE_SIZE = 4_KiB; | 102 | static constexpr u32 DEFAULT_SKIP_CACHE_SIZE = static_cast<u32>(4_KiB); |
| 103 | 103 | ||
| 104 | explicit BufferCache(VideoCore::RasterizerInterface& rasterizer_, | 104 | explicit BufferCache(VideoCore::RasterizerInterface& rasterizer_, |
| 105 | Tegra::Engines::Maxwell3D& maxwell3d_, | 105 | Tegra::Engines::Maxwell3D& maxwell3d_, |