If WASAPI driver not initialized, fail the init

This commit is contained in:
Xavier Sellier 2019-06-12 15:16:49 -04:00
parent a0bce23a5b
commit ea595c2290

View file

@ -243,6 +243,7 @@ Error AudioDriverWASAPI::init() {
Error err = init_device();
if (err != OK) {
ERR_PRINT("WASAPI: init_device error");
ERR_FAIL_V(err);
}
active = false;