fixed: alcCloseDevice was not called in release builds
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@176 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
4e9362c238
commit
b93c9ba4fa
|
@ -107,7 +107,7 @@ OpenAL::~OpenAL()
|
||||||
alcDestroyContext( context );
|
alcDestroyContext( context );
|
||||||
assert( AL_NO_ERROR == alGetError() );
|
assert( AL_NO_ERROR == alGetError() );
|
||||||
|
|
||||||
assert( ALC_TRUE == alcCloseDevice( device ) );
|
alcCloseDevice( device );
|
||||||
assert( AL_NO_ERROR == alGetError() );
|
assert( AL_NO_ERROR == alGetError() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue