diff options
| author | 2019-08-21 01:55:25 -0300 | |
|---|---|---|
| committer | 2019-08-21 01:55:25 -0300 | |
| commit | 9a76e94b3d854fadeac19a097538a24f9b3fb7b7 (patch) | |
| tree | 406d375b3d95ccc95da446959a2e4d75d40b3e23 /src/video_core/gpu_thread.h | |
| parent | Merge pull request #2747 from lioncash/audio (diff) | |
| download | yuzu-9a76e94b3d854fadeac19a097538a24f9b3fb7b7.tar.gz yuzu-9a76e94b3d854fadeac19a097538a24f9b3fb7b7.tar.xz yuzu-9a76e94b3d854fadeac19a097538a24f9b3fb7b7.zip | |
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 1d9d0c39e..3ae0ec9f3 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h | |||
| @@ -110,8 +110,7 @@ public: | |||
| 110 | void SubmitList(Tegra::CommandList&& entries); | 110 | void SubmitList(Tegra::CommandList&& entries); |
| 111 | 111 | ||
| 112 | /// Swap buffers (render frame) | 112 | /// Swap buffers (render frame) |
| 113 | void SwapBuffers( | 113 | void SwapBuffers(const Tegra::FramebufferConfig* framebuffer); |
| 114 | std::optional<std::reference_wrapper<const Tegra::FramebufferConfig>> framebuffer); | ||
| 115 | 114 | ||
| 116 | /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory | 115 | /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory |
| 117 | void FlushRegion(CacheAddr addr, u64 size); | 116 | void FlushRegion(CacheAddr addr, u64 size); |