diff options
| author | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2026-01-08 11:34:16 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan.goodliffe@octal.co.uk> | 2026-01-08 11:34:16 +0000 |
| commit | 5428f8480018462ad213f135a4a71bac06f7ac6a (patch) | |
| tree | 03f40f25166f0b7ba7d70cd906aa54bec49587bc | |
| parent | Always GL_DYNAMIC_DRAW in glMappedBufferWriter (diff) | |
| download | ilt-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.
| -rw-r--r-- | application/main.cpp | 2 |
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() |
