diff options
| author | 2020-07-23 19:54:59 -0700 | |
|---|---|---|
| committer | 2020-07-23 19:54:59 -0700 | |
| commit | 1d7de0a8ee04713c5d8011f379524ff53cb8c483 (patch) | |
| tree | 5882cfedf9f540b858b169503e1362ff5a59d3d3 /src/video_core/gpu_thread.cpp | |
| parent | Merge pull request #4353 from ameerj/gc-refactor (diff) | |
| parent | video_core: Remove unused variables (diff) | |
| download | yuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.tar.gz yuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.tar.xz yuzu-1d7de0a8ee04713c5d8011f379524ff53cb8c483.zip | |
Merge pull request #4394 from lioncash/unused6
video_core: Remove unused variables
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
| -rw-r--r-- | src/video_core/gpu_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 738c6f0c1..bf761abf2 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp | |||
| @@ -44,9 +44,9 @@ static void RunThread(Core::System& system, VideoCore::RendererBase& renderer, | |||
| 44 | dma_pusher.DispatchCalls(); | 44 | dma_pusher.DispatchCalls(); |
| 45 | } else if (const auto data = std::get_if<SwapBuffersCommand>(&next.data)) { | 45 | } else if (const auto data = std::get_if<SwapBuffersCommand>(&next.data)) { |
| 46 | renderer.SwapBuffers(data->framebuffer ? &*data->framebuffer : nullptr); | 46 | renderer.SwapBuffers(data->framebuffer ? &*data->framebuffer : nullptr); |
| 47 | } else if (const auto data = std::get_if<OnCommandListEndCommand>(&next.data)) { | 47 | } else if (std::holds_alternative<OnCommandListEndCommand>(next.data)) { |
| 48 | renderer.Rasterizer().ReleaseFences(); | 48 | renderer.Rasterizer().ReleaseFences(); |
| 49 | } else if (const auto data = std::get_if<GPUTickCommand>(&next.data)) { | 49 | } else if (std::holds_alternative<GPUTickCommand>(next.data)) { |
| 50 | system.GPU().TickWork(); | 50 | system.GPU().TickWork(); |
| 51 | } else if (const auto data = std::get_if<FlushRegionCommand>(&next.data)) { | 51 | } else if (const auto data = std::get_if<FlushRegionCommand>(&next.data)) { |
| 52 | renderer.Rasterizer().FlushRegion(data->addr, data->size); | 52 | renderer.Rasterizer().FlushRegion(data->addr, data->size); |