summaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/main.cpp b/application/main.cpp
index eef0ed0..3abcc83 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -59,7 +59,7 @@ public:
geoData->generateRandom();
Windows windows;
- windows.create<GameMainWindow>(DISPLAY_WIDTH, DISPLAY_HEIGHT, this);
+ windows.create<GameMainWindow>(DISPLAY_WIDTH, DISPLAY_HEIGHT);
world.create<Terrain>(geoData);
@@ -104,7 +104,7 @@ public:
world.apply(&WorldObject::tick, t_passed);
windows.apply(&Window::tick, t_passed);
- windows.apply(&Window::refresh, this);
+ windows.apply(&Window::refresh);
t_start = t_end;
}