aboutsummaryrefslogtreecommitdiffstats
path: root/al/source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/source.cpp')
-rw-r--r--al/source.cpp2
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);