summaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 96f5e23..b419c2e 100644
--- a/main.cpp
+++ b/main.cpp
@@ -15,8 +15,8 @@ main(int, char*[])
SetWindowState(FLAG_WINDOW_RESIZABLE);
SetTargetFPS(60);
DumpSource source("sample.json");
- auto grids = Reader::read(source);
- View view(std::move(grids));
+ auto [grids, timeline] = Reader::read(source);
+ View view(std::move(grids), std::move(timeline));
while (!WindowShouldClose())
{
view.update(GetFrameTime());