mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	Merge pull request #29728 from xsellier/bugfix/wasapi-driver-not-initialized
[2.1] If WASAPI driver not initialized, fail the init
This commit is contained in:
		
						commit
						43a5f5b366
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -243,6 +243,7 @@ Error AudioDriverWASAPI::init() { | ||||||
| 	Error err = init_device(); | 	Error err = init_device(); | ||||||
| 	if (err != OK) { | 	if (err != OK) { | ||||||
| 		ERR_PRINT("WASAPI: init_device error"); | 		ERR_PRINT("WASAPI: init_device error"); | ||||||
|  | 		ERR_FAIL_V(err); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	active = false; | 	active = false; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Rémi Verschelde
						Rémi Verschelde