summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_synch.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-09-04 04:36:32 +0200
committerGitHub <noreply@github.com>2019-09-04 04:36:32 +0200
commit19af91434e7aea4232d12bf66ce86d33c134d1ba (patch)
tree034bed59283a16c7e0939d2959179c8835f51442 /src/video_core/gpu_synch.cpp
parentMerge pull request #2812 from ReinUsesLisp/f2i-selector (diff)
parentrenderer_opengl: Implement RGB565 framebuffer format (diff)
downloadyuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.gz
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.bz2
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.lz
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.xz
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.tar.zst
yuzu-19af91434e7aea4232d12bf66ce86d33c134d1ba.zip
Diffstat (limited to 'src/video_core/gpu_synch.cpp')
-rw-r--r--src/video_core/gpu_synch.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/gpu_synch.cpp b/src/video_core/gpu_synch.cpp
index d4ead9c47..d48221077 100644
--- a/src/video_core/gpu_synch.cpp
+++ b/src/video_core/gpu_synch.cpp
@@ -19,9 +19,8 @@ void GPUSynch::PushGPUEntries(Tegra::CommandList&& entries) {
dma_pusher->DispatchCalls();
}
-void GPUSynch::SwapBuffers(
- std::optional<std::reference_wrapper<const Tegra::FramebufferConfig>> framebuffer) {
- renderer.SwapBuffers(std::move(framebuffer));
+void GPUSynch::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) {
+ renderer.SwapBuffers(framebuffer);
}
void GPUSynch::FlushRegion(CacheAddr addr, u64 size) {