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 f3c16f6..d1c9b86 100644
--- a/main.cpp
+++ b/main.cpp
@@ -2,7 +2,7 @@
#include <raylib.h>
-#include "ExampleSource.h"
+#include "DumpSource.h"
#include "View.h"
@@ -12,7 +12,7 @@ main(int argc, char* argv[])
InitWindow(800, 600, "Derelict");
SetWindowState(FLAG_WINDOW_RESIZABLE);
SetTargetFPS(60);
- View view(std::make_unique<ExampleSource>());
+ View view(std::make_unique<DumpSource>("sample.json"));
while (!WindowShouldClose())
{
view.update(GetFrameTime());