mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Make sure processed is initialized, for when alGetSourcei errors (bug #442)
This commit is contained in:
@@ -160,7 +160,7 @@ namespace openal
|
||||
else if (type == TYPE_STREAM && (isLooping() || !isFinished()))
|
||||
{
|
||||
// Number of processed buffers.
|
||||
ALint processed;
|
||||
ALint processed = 0;
|
||||
|
||||
alGetSourcei(source, AL_BUFFERS_PROCESSED, &processed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user