summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-08-21 01:55:25 -0300
committerGravatar ReinUsesLisp2019-08-21 01:55:25 -0300
commit9a76e94b3d854fadeac19a097538a24f9b3fb7b7 (patch)
tree406d375b3d95ccc95da446959a2e4d75d40b3e23 /src/video_core/gpu.h
parentMerge pull request #2747 from lioncash/audio (diff)
downloadyuzu-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.h')
-rw-r--r--src/video_core/gpu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 87c96f46b..168a88692 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -247,8 +247,7 @@ public:
247 virtual void PushGPUEntries(Tegra::CommandList&& entries) = 0; 247 virtual void PushGPUEntries(Tegra::CommandList&& entries) = 0;
248 248
249 /// Swap buffers (render frame) 249 /// Swap buffers (render frame)
250 virtual void SwapBuffers( 250 virtual void SwapBuffers(const Tegra::FramebufferConfig* framebuffer) = 0;
251 std::optional<std::reference_wrapper<const Tegra::FramebufferConfig>> framebuffer) = 0;
252 251
253 /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory 252 /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory
254 virtual void FlushRegion(CacheAddr addr, u64 size) = 0; 253 virtual void FlushRegion(CacheAddr addr, u64 size) = 0;