aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-09-07 16:36:42 -0700
committerChris Robinson <[email protected]>2010-09-07 16:36:42 -0700
commit3763c957840ea7185a539a043d135fd5a9ab20eb (patch)
tree8d16b990fa800fd8d8367b81a99a9e6f5f57504f /OpenAL32
parent5fa5252648c2ea68f9304a0397de84c5cd2329b2 (diff)
Add missing else
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/alBuffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index 983396c0..938caca2 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -689,6 +689,7 @@ AL_API void AL_APIENTRY alBufferf(ALuint buffer, ALenum eParam, ALfloat flValue)
device = pContext->Device;
if(LookupBuffer(device->BufferMap, buffer) == NULL)
alSetError(pContext, AL_INVALID_NAME);
+ else
{
switch(eParam)
{