restore some part of the code to prevent an untwanted segmentationf fault.
This commit is contained in:
@@ -179,6 +179,8 @@ void SGSoundMgr::stop() {
|
||||
_buffers.erase( buffers_current );
|
||||
}
|
||||
|
||||
_context = alcGetCurrentContext();
|
||||
_device = alcGetContextsDevice(_context);
|
||||
alcDestroyContext(_context);
|
||||
alcCloseDevice(_device);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user