From c9195f997f3e797f03ab90464e4158717198a167 Mon Sep 17 00:00:00 2001 From: skal Date: Sun, 8 Feb 2026 07:40:29 +0100 Subject: style: Apply clang-format to all source files --- src/gpu/gpu.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/gpu/gpu.cc') diff --git a/src/gpu/gpu.cc b/src/gpu/gpu.cc index fe71d3e..9776eac 100644 --- a/src/gpu/gpu.cc +++ b/src/gpu/gpu.cc @@ -371,7 +371,8 @@ void gpu_init(PlatformState* platform_state) { InitShaderComposer(); - g_main_sequence.init(g_gpu_context, platform_state->width, platform_state->height); + g_main_sequence.init(g_gpu_context, platform_state->width, + platform_state->height); LoadTimeline(g_main_sequence, g_gpu_context); } @@ -394,9 +395,11 @@ void gpu_simulate_until(float time) { g_main_sequence.simulate_until(time, 1.0f / 60.0f); } -void gpu_add_custom_effect(Effect* effect, float start_time, float end_time, int priority) { +void gpu_add_custom_effect(Effect* effect, float start_time, float end_time, + int priority) { auto seq = std::make_shared(); - seq->add_effect(std::shared_ptr(effect), start_time, end_time, priority); + seq->add_effect(std::shared_ptr(effect), start_time, end_time, + priority); seq->init(&g_main_sequence); g_main_sequence.add_sequence(seq, 0.0f, priority); } -- cgit v1.2.3