diff options
author | bunnei <bunneidev@gmail.com> | 2019-10-17 20:02:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-17 20:02:16 +0200 |
commit | 9fe8072c67f0a99c68b95c69ea19c2334fd0258f (patch) | |
tree | 8598c0f3a89dc9962c9682fa9899584ae868a86c /src/video_core/engines/maxwell_3d.cpp | |
parent | Merge pull request #2978 from lioncash/doxygen (diff) | |
parent | control_flow: Silence truncation warnings (diff) | |
download | yuzu-9fe8072c67f0a99c68b95c69ea19c2334fd0258f.tar yuzu-9fe8072c67f0a99c68b95c69ea19c2334fd0258f.tar.gz yuzu-9fe8072c67f0a99c68b95c69ea19c2334fd0258f.tar.bz2 yuzu-9fe8072c67f0a99c68b95c69ea19c2334fd0258f.tar.lz yuzu-9fe8072c67f0a99c68b95c69ea19c2334fd0258f.tar.xz yuzu-9fe8072c67f0a99c68b95c69ea19c2334fd0258f.tar.zst yuzu-9fe8072c67f0a99c68b95c69ea19c2334fd0258f.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 7802fd808..c5ec7d9f1 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -101,7 +101,8 @@ void Maxwell3D::InitializeRegisterDefaults() { #define DIRTY_REGS_POS(field_name) (offsetof(Maxwell3D::DirtyRegs, field_name)) void Maxwell3D::InitDirtySettings() { - const auto set_block = [this](const u32 start, const u32 range, const u8 position) { + const auto set_block = [this](const std::size_t start, const std::size_t range, + const u8 position) { const auto start_itr = dirty_pointers.begin() + start; const auto end_itr = start_itr + range; std::fill(start_itr, end_itr, position); |