From ff620411a75a3b27f6a449367021b07e5b700d0c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 15 Mar 2023 00:59:24 -0700 Subject: Fix the format check for queueing buffers --- al/source.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'al') 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); -- cgit v1.2.3