From b93c9ba4fa4cf6038d22d0cf8dd68ee3b912815c Mon Sep 17 00:00:00 2001 From: spacy51 Date: Thu, 6 Dec 2007 20:27:57 +0000 Subject: [PATCH] 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 --- src/win32/OpenAL.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win32/OpenAL.cpp b/src/win32/OpenAL.cpp index 825f4837..92b332ee 100644 --- a/src/win32/OpenAL.cpp +++ b/src/win32/OpenAL.cpp @@ -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() ); }