diff options
author | Chris Robinson <[email protected]> | 2023-03-15 00:59:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-03-15 00:59:24 -0700 |
commit | ff620411a75a3b27f6a449367021b07e5b700d0c (patch) | |
tree | 0f4e7370349b953da152d91c51f141b87bc40a10 /al/source.cpp | |
parent | 4c89d76ec30d89deeb83aa1eac1d99c7397ac8a1 (diff) |
Fix the format check for queueing buffers
Diffstat (limited to 'al/source.cpp')
-rw-r--r-- | al/source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/source.cpp b/al/source.cpp index 07fe6905..4993a83c 100644 --- a/al/source.cpp +++ b/al/source.cpp @@ -3746,7 +3746,7 @@ START_API_FUNC } if(buffer) { - if(buffer->mSampleRate < 0) + if(buffer->mSampleRate < 1) { context->setError(AL_INVALID_OPERATION, "Queueing buffer %u with no format", buffer->id); |