summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu_asynch.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_asynch.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_asynch.cpp')
-rw-r--r--src/video_core/gpu_asynch.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/gpu_asynch.cpp b/src/video_core/gpu_asynch.cpp
index ea67be831..f2a3a390e 100644
--- a/src/video_core/gpu_asynch.cpp
+++ b/src/video_core/gpu_asynch.cpp
@@ -23,9 +23,8 @@ void GPUAsynch::PushGPUEntries(Tegra::CommandList&& entries) {
gpu_thread.SubmitList(std::move(entries));
}
-void GPUAsynch::SwapBuffers(
- std::optional<std::reference_wrapper<const Tegra::FramebufferConfig>> framebuffer) {
- gpu_thread.SwapBuffers(std::move(framebuffer));
+void GPUAsynch::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) {
+ gpu_thread.SwapBuffers(framebuffer);
}
void GPUAsynch::FlushRegion(CacheAddr addr, u64 size) {