summaryrefslogtreecommitdiff
path: root/application
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2026-01-08 11:34:16 +0000
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2026-01-08 11:34:16 +0000
commit5428f8480018462ad213f135a4a71bac06f7ac6a (patch)
tree03f40f25166f0b7ba7d70cd906aa54bec49587bc /application
parentAlways GL_DYNAMIC_DRAW in glMappedBufferWriter (diff)
downloadilt-5428f8480018462ad213f135a4a71bac06f7ac6a.tar.bz2
ilt-5428f8480018462ad213f135a4a71bac06f7ac6a.tar.xz
ilt-5428f8480018462ad213f135a4a71bac06f7ac6a.zip
Fix base class order of DummyMainApplication
Fixes order of destruction so assets are fully destructed before the GL context is destroyed.
Diffstat (limited to 'application')
-rw-r--r--application/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/main.cpp b/application/main.cpp
index a0c87c0..f5acb3b 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -38,7 +38,7 @@
constexpr ScreenAbsCoord DEFAULT_WINDOW_SIZE {1280, 1024};
-class DummyMainApplication : public GameState, public MainApplication {
+class DummyMainApplication : public MainApplication, public GameState {
public:
int
run()