summaryrefslogtreecommitdiff
path: root/src/gpu/gpu.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gpu.cc')
-rw-r--r--src/gpu/gpu.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gpu.cc b/src/gpu/gpu.cc
index 0655bb3..e68b84d 100644
--- a/src/gpu/gpu.cc
+++ b/src/gpu/gpu.cc
@@ -425,6 +425,10 @@ void gpu_draw(float audio_peak, float aspect_ratio, float time, float beat) {
g_main_sequence.render_frame(time, beat, audio_peak, aspect_ratio, g_surface);
}
+void gpu_simulate_until(float time) {
+ g_main_sequence.simulate_until(time, 1.0f / 60.0f);
+}
+
void gpu_shutdown() {
g_main_sequence.shutdown();
} \ No newline at end of file