summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/vi/container.cpp')
-rw-r--r--src/core/hle/service/vi/container.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/container.cpp b/src/core/hle/service/vi/container.cpp
index 2d6b9cbfe..310a207f1 100644
--- a/src/core/hle/service/vi/container.cpp
+++ b/src/core/hle/service/vi/container.cpp
@@ -218,10 +218,11 @@ void Container::DestroyBufferQueueLocked(Layer* layer) {
layer->GetProducerBinderId());
}
-void Container::ComposeOnDisplay(s32* out_swap_interval, f32* out_compose_speed_scale,
+bool Container::ComposeOnDisplay(s32* out_swap_interval, f32* out_compose_speed_scale,
u64 display_id) {
std::scoped_lock lk{m_lock};
- m_surface_flinger->ComposeDisplay(out_swap_interval, out_compose_speed_scale, display_id);
+ return m_surface_flinger->ComposeDisplay(out_swap_interval, out_compose_speed_scale,
+ display_id);
}
} // namespace Service::VI