diff options
author | Lioncash <mathew1800@gmail.com> | 2020-12-04 14:39:12 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-12-04 16:19:09 -0500 |
commit | 677a8b208d47d0d2397197ce74c7039a8ea79d20 (patch) | |
tree | 51f6cc58b69b42c7af300c6c56abd0af37e0c748 /src/video_core/gpu.cpp | |
parent | fad38ec6e849a25846f4fd28b61dcfebd6d8af6c (diff) |
video_core: Resolve more variable shadowing scenarios
Resolves variable shadowing scenarios up to the end of the OpenGL code
to make it nicer to review. The rest will be resolved in a following
commit.
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index e91f52938..964b3f3dc 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -232,8 +232,12 @@ void GPU::CallMultiMethod(u32 method, u32 subchannel, const u32* base_start, u32 CallEngineMultiMethod(method, subchannel, base_start, amount, methods_pending); } else { for (std::size_t i = 0; i < amount; i++) { - CallPullerMethod( - {method, base_start[i], subchannel, methods_pending - static_cast<u32>(i)}); + CallPullerMethod(MethodCall{ + method, + base_start[i], + subchannel, + methods_pending - static_cast<u32>(i), + }); } } } |