projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2427c6
)
revert 1 small change
author
Matthias Braun
<matze@braunis.de>
Sun, 28 May 2006 20:26:12 +0000
(20:26 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sun, 28 May 2006 20:26:12 +0000
(20:26 +0000)
SVN-Revision: 3600
src/audio/openal_sound_source.cpp
patch
|
blob
|
history
diff --git
a/src/audio/openal_sound_source.cpp
b/src/audio/openal_sound_source.cpp
index
e5c5861
..
252cc6e
100644
(file)
--- a/
src/audio/openal_sound_source.cpp
+++ b/
src/audio/openal_sound_source.cpp
@@
-31,7
+31,6
@@
OpenALSoundSource::OpenALSoundSource()
OpenALSoundSource::~OpenALSoundSource()
{
stop();
- alSourcei(source, AL_BUFFER, AL_NONE);
alDeleteSources(1, &source);
}
@@
-39,6
+38,7
@@
void
OpenALSoundSource::stop()
{
alSourceStop(source);
+ alSourcei(source, AL_BUFFER, AL_NONE);
SoundManager::check_al_error("Problem stopping audio source: ");
}