diff options
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
| -rw-r--r-- | src/video_core/gpu_thread.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 3efa3d8d0..2cdf1aa7f 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp | |||
| @@ -71,8 +71,7 @@ void ThreadManager::SubmitList(Tegra::CommandList&& entries) { | |||
| 71 | } | 71 | } |
| 72 | 72 | ||
| 73 | void ThreadManager::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) { | 73 | void ThreadManager::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) { |
| 74 | PushCommand(SwapBuffersCommand(framebuffer ? *framebuffer | 74 | PushCommand(SwapBuffersCommand(framebuffer ? std::make_optional(*framebuffer) : std::nullopt)); |
| 75 | : std::optional<const Tegra::FramebufferConfig>{})); | ||
| 76 | } | 75 | } |
| 77 | 76 | ||
| 78 | void ThreadManager::FlushRegion(CacheAddr addr, u64 size) { | 77 | void ThreadManager::FlushRegion(CacheAddr addr, u64 size) { |