diff options
| author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-01-07 15:56:15 -0500 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-02-13 13:07:56 -0500 |
| commit | 01dec35df344367254cfa658f8a1113f9e512c9d (patch) | |
| tree | 68880d4617e87048fd1c325ed05dc26b434396cf /src/video_core/gpu_thread.cpp | |
| parent | c0ccf9eac57075e2fdbe862ec62e4abdf8bd46f6 (diff) | |
rebase, fix name shadowing, more const
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
| -rw-r--r-- | src/video_core/gpu_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 7644588e34..eb0e43c0cd 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp @@ -49,7 +49,7 @@ static void RunThread(Core::System& system, VideoCore::RendererBase& renderer, } else if (auto* command_list = std::get_if<SubmitChCommandEntries>(&next.data)) { // NVDEC cdma_pusher.ProcessEntries(std::move(command_list->entries)); - } else if (const auto data = std::get_if<SwapBuffersCommand>(&next.data)) { + } else if (const auto* data = std::get_if<SwapBuffersCommand>(&next.data)) { renderer.SwapBuffers(data->framebuffer ? &*data->framebuffer : nullptr); } else if (std::holds_alternative<OnCommandListEndCommand>(next.data)) { rasterizer->ReleaseFences(); |
