make audio device init delayed until first use
This commit is contained in:
		@@ -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? */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user