diff options
Diffstat (limited to 'src')
| -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() { | |||
| 101 | #define DIRTY_REGS_POS(field_name) (offsetof(Maxwell3D::DirtyRegs, field_name)) | 101 | #define DIRTY_REGS_POS(field_name) (offsetof(Maxwell3D::DirtyRegs, field_name)) |
| 102 | 102 | ||
| 103 | void Maxwell3D::InitDirtySettings() { | 103 | void Maxwell3D::InitDirtySettings() { |
| 104 | const auto set_block = [this](const u32 start, const u32 range, const u8 position) { | 104 | const auto set_block = [this](const std::size_t start, const std::size_t range, |
| 105 | const u8 position) { | ||
| 105 | const auto start_itr = dirty_pointers.begin() + start; | 106 | const auto start_itr = dirty_pointers.begin() + start; |
| 106 | const auto end_itr = start_itr + range; | 107 | const auto end_itr = start_itr + range; |
| 107 | std::fill(start_itr, end_itr, position); | 108 | std::fill(start_itr, end_itr, position); |