diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-08 17:08:07 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-08 22:48:50 +0000 |
| commit | 096f339a2a817054c9e2dfef188a5e2470126236 (patch) | |
| tree | 83b293c8ca82a1b6052c6d20063550fd92f10c61 /src/video_core/engines/maxwell_3d.cpp | |
| parent | fa0d65fc7b789193d1c8b078f446d3c497e5458b (diff) | |
video_core: Silence implicit conversion warnings
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 2bed6cb38..42ce49a4d 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -261,7 +261,8 @@ void Maxwell3D::CallMacroMethod(u32 method, std::size_t num_parameters, const u3 executing_macro = 0; // Lookup the macro offset - const u32 entry = ((method - MacroRegistersStart) >> 1) % macro_positions.size(); + const u32 entry = + ((method - MacroRegistersStart) >> 1) % static_cast<u32>(macro_positions.size()); // Execute the current macro. macro_interpreter.Execute(macro_positions[entry], num_parameters, parameters); |
