diff options
| author | bunnei <bunneidev@gmail.com> | 2019-09-03 22:36:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-03 22:36:32 -0400 |
| commit | 19af91434e7aea4232d12bf66ce86d33c134d1ba (patch) | |
| tree | 034bed59283a16c7e0939d2959179c8835f51442 /src/video_core/gpu_asynch.cpp | |
| parent | 81fbc5370d8f09a3a167c96556fb3a4bf211673a (diff) | |
| parent | 80702aa88f6f448decfbb06dc14db470c221dd38 (diff) | |
Merge pull request #2793 from ReinUsesLisp/bgr565
renderer_opengl: Implement RGB565 framebuffer format
Diffstat (limited to 'src/video_core/gpu_asynch.cpp')
| -rw-r--r-- | src/video_core/gpu_asynch.cpp | 5 |
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) { |
