diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-08-21 01:55:25 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-08-21 01:55:25 -0300 |
| commit | d762e37a187aa4993de1db91a1c5f521dcb98f18 (patch) | |
| tree | 406d375b3d95ccc95da446959a2e4d75d40b3e23 /src/video_core/gpu_thread.h | |
| parent | 79992d99d302c7fdb2597d4c6e67a9052ee8e21e (diff) | |
gpu: Change optional<reference_wrapper<T>> to T* for FramebufferConfig
Diffstat (limited to 'src/video_core/gpu_thread.h')
| -rw-r--r-- | src/video_core/gpu_thread.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index 1d9d0c39e3..3ae0ec9f33 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h @@ -110,8 +110,7 @@ public: void SubmitList(Tegra::CommandList&& entries); /// Swap buffers (render frame) - void SwapBuffers( - std::optional<std::reference_wrapper<const Tegra::FramebufferConfig>> framebuffer); + void SwapBuffers(const Tegra::FramebufferConfig* framebuffer); /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory void FlushRegion(CacheAddr addr, u64 size); |
