summaryrefslogtreecommitdiffhomepage
path: root/editor/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/app.cpp')
-rw-r--r--editor/app.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/app.cpp b/editor/app.cpp
index dd4433f9..da507563 100644
--- a/editor/app.cpp
+++ b/editor/app.cpp
@@ -5,11 +5,12 @@
namespace floormat {
app::app() :
+ FM{ floormat_main::create(*this, {})},
+ _dummy{(void(fmain->register_debug_callback()), nullptr)},
_floor1{loader.tile_atlas("floor-tiles", {44, 4})},
_floor2{loader.tile_atlas("metal1", {2, 2})},
_wall1{loader.tile_atlas("wood2", {1, 1})},
- _wall2{loader.tile_atlas("wood1", {1, 1})},
- _fmain{floormat_main::create(*this, {})}
+ _wall2{loader.tile_atlas("wood1", {1, 1})}
{
}