summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-10-14 16:16:34 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-10-14 16:16:34 +0200
commit672180b2ee3ed9b9ff984538a85e6eaf2e1c91bc (patch)
tree9dc40562890b7dff088afc46fb4e2af0ea3552d8 /src/main.cpp
parente4ca910e7731e2a12815a4a8de2582157f519898 (diff)
Move assets to assets.cpp.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4aa234c..82b5e2e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -19,7 +19,8 @@ int main()
window.setVerticalSyncEnabled(true);
- game::load_assets();
+ assets::load();
+
game.start();
while (1) {
@@ -33,7 +34,6 @@ int main()
window.clear();
render.begin_frame(now);
render.render(&game);
- //game.render(&render);
interface.render();
render.end_frame();
}