summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-12 01:31:15 +0100
committerskal <pascal.massimino@gmail.com>2026-02-12 01:31:15 +0100
commit565b72d08eb1463a7e354c7f63a8edb9e32884e0 (patch)
tree5a1d6957c357870934c4dd514d3effe3c242886c
parentbd400d0e99f40bc9a6ec4754723444082c509890 (diff)
fix: add missing beat_phase parameter to stub gpu_draw implementations
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
-rw-r--r--src/gpu/headless_gpu.cc6
-rw-r--r--src/gpu/stub_gpu.cc6
2 files changed, 8 insertions, 4 deletions
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) {