From 565b72d08eb1463a7e354c7f63a8edb9e32884e0 Mon Sep 17 00:00:00 2001 From: skal Date: Thu, 12 Feb 2026 01:31:15 +0100 Subject: fix: add missing beat_phase parameter to stub gpu_draw implementations Co-Authored-By: Claude Sonnet 4.5 --- src/gpu/headless_gpu.cc | 6 ++++-- src/gpu/stub_gpu.cc | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'src/gpu') diff --git a/src/gpu/headless_gpu.cc b/src/gpu/headless_gpu.cc index 1a649d3..1eedc66 100644 --- a/src/gpu/headless_gpu.cc +++ b/src/gpu/headless_gpu.cc @@ -47,11 +47,13 @@ void gpu_init(PlatformState* platform_state) { } } -void gpu_draw(float audio_peak, float aspect_ratio, float time, float beat) { +void gpu_draw(float audio_peak, float aspect_ratio, float time, + float beat_time, float beat_phase) { (void)audio_peak; (void)aspect_ratio; (void)time; - (void)beat; + (void)beat_time; + (void)beat_phase; } void gpu_resize(int width, int height) { diff --git a/src/gpu/stub_gpu.cc b/src/gpu/stub_gpu.cc index 0b4185c..8d69996 100644 --- a/src/gpu/stub_gpu.cc +++ b/src/gpu/stub_gpu.cc @@ -41,11 +41,13 @@ void gpu_init(PlatformState* platform_state) { (void)platform_state; } -void gpu_draw(float audio_peak, float aspect_ratio, float time, float beat) { +void gpu_draw(float audio_peak, float aspect_ratio, float time, + float beat_time, float beat_phase) { (void)audio_peak; (void)aspect_ratio; (void)time; - (void)beat; + (void)beat_time; + (void)beat_phase; } void gpu_resize(int width, int height) { -- cgit v1.2.3