summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-07-26 04:21:25 +0200
committeraura <nw@moneybot.cc>2026-07-26 04:21:25 +0200
commit452e3619450ab9e7d22886445f61cc90272e4d60 (patch)
treed2d1b3e3e5310f883d57d8acdc6b6f171d05d62d /src/game.cpp
parent5f2c7110a1880fde47317cb920db978d6995638f (diff)
cleanup
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 8497b6a..523e884 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -226,5 +226,6 @@ void game_on_tick( GAME_DATA* game ) { _profiled
void game_destroy( GAME_DATA *game ) {
gl_batch_destroy( game->render.batch_2d );
gl_batch_destroy( game->render.batch_3d );
+ gl_destroy( game->gl );
free( game );
}