make audio device init delayed until first use

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

No files matched your search

+1
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? */