mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 10:38:53 +00:00
sound/OpenAL/AL_CinematicAudio.cpp: Remove address check against array
neo/sound/OpenAL/AL_CinematicAudio.cpp:246:6: warning: address of array 'this->alMusicBuffercin' will always evaluate to 'true' [-Wpointer-bool-conversion] if( alMusicBuffercin ) ~~ ^~~~~~~~~~~~~~~~
This commit is contained in:
parent
ee014e80d0
commit
229496cffb
1 changed files with 1 additions and 4 deletions
|
@ -243,10 +243,7 @@ void CinematicAudio_OpenAL::ShutdownAudio()
|
|||
}
|
||||
}
|
||||
|
||||
if( alMusicBuffercin )
|
||||
{
|
||||
alDeleteBuffers( NUM_BUFFERS, alMusicBuffercin );
|
||||
}
|
||||
alDeleteBuffers( NUM_BUFFERS, alMusicBuffercin );
|
||||
|
||||
while( !tBuffer.empty() )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue