summaryrefslogtreecommitdiff
path: root/src/app/main.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-17 08:16:03 +0100
committerskal <pascal.massimino@gmail.com>2026-02-17 08:16:03 +0100
commit64f977f6fbedf75d5edbc3963e002b593c8428d8 (patch)
treeef711b63d34b5c3f5ecc93d46a0a3ab0b6d26a6f /src/app/main.cc
parent8c9332c16b44270921eb1b6a2886717eb3435d5d (diff)
style: Apply clang-format
Diffstat (limited to 'src/app/main.cc')
-rw-r--r--src/app/main.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/app/main.cc b/src/app/main.cc
index eefec03..e020a2a 100644
--- a/src/app/main.cc
+++ b/src/app/main.cc
@@ -17,10 +17,10 @@
#include <csignal>
#endif
#endif
-#include "generated/assets.h" // Include generated asset header
+#include "generated/assets.h" // Include generated asset header
+#include "generated/timeline.h" // For GetDemoDuration(), RenderTimeline()
#include "gpu/demo_effects.h"
#include "gpu/gpu.h"
-#include "generated/timeline.h" // For GetDemoDuration(), RenderTimeline()
#include "platform/platform.h"
#include "util/math.h"
#include <cmath>
@@ -211,7 +211,8 @@ int main(int argc, char** argv) {
}
audio_start();
- g_last_audio_time = 0.0f; // Initialize to zero (will use smooth interpolation)
+ g_last_audio_time =
+ 0.0f; // Initialize to zero (will use smooth interpolation)
#if !defined(STRIP_ALL)
// Hot-reload setup
@@ -414,8 +415,8 @@ int main(int argc, char** argv) {
}
// Draw graphics using v2 timeline
- RenderTimeline(gpu_get_surface(), (float)current_physical_time, width, height,
- absolute_beat_time, visual_peak);
+ RenderTimeline(gpu_get_surface(), (float)current_physical_time, width,
+ height, absolute_beat_time, visual_peak);
last_frame_time = current_physical_time;
}