make audio device init delayed until first use

This commit is contained in:
veclavtalica
2025-01-15 05:43:56 +03:00
parent f0dfd5627a
commit db530ca3a0
3 changed files with 35 additions and 35 deletions

View File

@ -79,6 +79,7 @@ typedef struct EngineContext {
bool render_double_buffered;
/* signals mouse focus, used to disable mouse capture */
bool window_mouse_resident;
bool audio_initialized;
} EngineContext;
/* TODO: does it need to be marked with TWN_API? */