Add missing else

This commit is contained in:
Chris Robinson 2010-09-07 16:36:42 -07:00
parent 5fa5252648
commit 3763c95784

View File

@ -689,6 +689,7 @@ AL_API void AL_APIENTRY alBufferf(ALuint buffer, ALenum eParam, ALfloat flValue)
device = pContext->Device; device = pContext->Device;
if(LookupBuffer(device->BufferMap, buffer) == NULL) if(LookupBuffer(device->BufferMap, buffer) == NULL)
alSetError(pContext, AL_INVALID_NAME); alSetError(pContext, AL_INVALID_NAME);
else
{ {
switch(eParam) switch(eParam)
{ {