fixed: alcCloseDevice was not called in release builds
This commit is contained in:
parent
d937c7dc62
commit
0fac9e0fa3
|
@ -106,8 +106,8 @@ OpenAL::~OpenAL()
|
|||
|
||||
alcDestroyContext( context );
|
||||
assert( AL_NO_ERROR == alGetError() );
|
||||
|
||||
assert( ALC_TRUE == alcCloseDevice( device ) );
|
||||
|
||||
alcCloseDevice( device );
|
||||
assert( AL_NO_ERROR == alGetError() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue