]> git.mxchange.org Git - simgear.git/commit
Fix error handling in SGSampleGroup::stop
authorThorstenB <brehmt@gmail.com>
Sun, 24 Jun 2012 17:18:47 +0000 (19:18 +0200)
committerThorstenB <brehmt@gmail.com>
Sun, 24 Jun 2012 17:18:47 +0000 (19:18 +0200)
commit8e42e5bdba1b18fa3696d93ea97d7f6ef4820f4e
tree66d0acafd0857ff1d84e643a18006430dfd06725
parentad4a9eeaa5c6a33b4f192bd0fab043bef930152f
Fix error handling in SGSampleGroup::stop
Move error check to correct location: needs to be done immediately after
the alSourceStop call - and only if it was called at all.
simgear/sound/sample_group.cxx
simgear/sound/sample_group.hxx
simgear/sound/soundmgr_openal.hxx