1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Booleanize various sync primitives' wait & locking methods

This commit is contained in:
Pedro J. Estébanez
2023-01-27 11:04:41 +01:00
parent 9f74f0f6c5
commit f630940591
9 changed files with 20 additions and 23 deletions

View File

@@ -44,7 +44,7 @@ void AudioDriverOpenSL::_buffer_callback(
if (pause) {
mix = false;
} else {
mix = mutex.try_lock() == OK;
mix = mutex.try_lock();
}
if (mix) {