fixed: alcCloseDevice was not called in release builds

This commit is contained in:
spacy51 2007-12-06 20:27:57 +00:00
parent d937c7dc62
commit 0fac9e0fa3
1 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ OpenAL::~OpenAL()
alcDestroyContext( context );
assert( AL_NO_ERROR == alGetError() );
assert( ALC_TRUE == alcCloseDevice( device ) );
alcCloseDevice( device );
assert( AL_NO_ERROR == alGetError() );
}