diff options
Diffstat (limited to 'src/app/main.cc')
| -rw-r--r-- | src/app/main.cc | 11 |
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; } |
