diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-15 15:28:53 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-15 15:28:53 +0100 |
commit | 02c3f1fd622bb5b4da1462c5bb507a4a541447d5 (patch) | |
tree | 8db9ad8cc755cdab17d11a97309b3b147c576964 /application | |
parent | Add imgui init and shutdown to appbase and gamemainwindow (diff) | |
download | ilt-02c3f1fd622bb5b4da1462c5bb507a4a541447d5.tar.bz2 ilt-02c3f1fd622bb5b4da1462c5bb507a4a541447d5.tar.xz ilt-02c3f1fd622bb5b4da1462c5bb507a4a541447d5.zip |
First cut reshuffling app/window/gl/render bits
Diffstat (limited to 'application')
-rw-r--r-- | application/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application/main.cpp b/application/main.cpp index f0ba8bb..04c88f3 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -1,3 +1,4 @@ +#include "ui/mainWindow.h" #include <array> #include <assetFactory/assetFactory.h> #include <chrono> @@ -41,7 +42,7 @@ public: geoData = std::make_shared<GeoData>(GeoData::loadFromAsciiGrid("test/fixtures/height/SD19.asc")); Windows windows; - windows.create<GameMainWindow>(DISPLAY_WIDTH, DISPLAY_HEIGHT); + windows.create<MainWindow>(DISPLAY_WIDTH, DISPLAY_HEIGHT)->setContent<GameMainWindow>(); world.create<Terrain>(geoData); world.create<Water>(geoData); |