From 3a8ef2f0d68914ef31b899a1f871aa12c57ff39d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 10 Sep 2011 21:21:07 -0700 Subject: Initialize source parameters before adding the source to the map --- OpenAL32/alBuffer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenAL32/alBuffer.c') diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index 455cf166..c65be881 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -177,6 +177,7 @@ AL_API ALvoid AL_APIENTRY alGenBuffers(ALsizei n, ALuint *buffers) alDeleteBuffers(i, buffers); break; } + buffers[i++] = buffer->buffer; } } -- cgit v1.2.3