diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-15 23:43:53 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-15 23:51:35 +0200 |
commit | c9c75f9587e164903962156167e31809be871ae7 (patch) | |
tree | eb972d9e7edf63933a78ce9db04fc9e4435d4028 | |
parent | Merge pull request #2977 from lioncash/algorithm (diff) | |
download | yuzu-c9c75f9587e164903962156167e31809be871ae7.tar yuzu-c9c75f9587e164903962156167e31809be871ae7.tar.gz yuzu-c9c75f9587e164903962156167e31809be871ae7.tar.bz2 yuzu-c9c75f9587e164903962156167e31809be871ae7.tar.lz yuzu-c9c75f9587e164903962156167e31809be871ae7.tar.xz yuzu-c9c75f9587e164903962156167e31809be871ae7.tar.zst yuzu-c9c75f9587e164903962156167e31809be871ae7.zip |
-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); |