From: hgn Date: Tue, 15 Jul 2025 11:50:00 +0000 (+0100) Subject: Wrong order shutdown X-Git-Url: https://harrygodden.com/git/?a=commitdiff_plain;h=207ffe443235928cced5715a5d558b082ee268c5;p=vg.git Wrong order shutdown --- diff --git a/vg_engine.c b/vg_engine.c index 00847b8..7bf0b2c 100644 --- a/vg_engine.c +++ b/vg_engine.c @@ -618,6 +618,7 @@ static void _vg_terminate(void) SDL_GL_DeleteContext( vg.gl_context ); SDL_Quit(); + vg_steam_shutdown(); exit(0); } @@ -788,7 +789,6 @@ void vg_run(void) _thread_purpose_loader = 0x2; SDL_CreateThread( _vg_loader_thread, "vg: loader", NULL ); _vg_gameloop(); - vg_steam_shutdown(); _vg_terminate(); }