Fixed endless recursion in audio initialization
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1291 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
d979ca254e
commit
49fbdb56df
@ -59,10 +59,6 @@ AudioDevice::AudioDevice()
|
||||
{
|
||||
// Set the context as the current one (we'll only need one)
|
||||
alcMakeContextCurrent(audioContext);
|
||||
|
||||
// Initialize the listener, located at the origin and looking along the Z axis
|
||||
Listener::SetPosition(0.f, 0.f, 0.f);
|
||||
Listener::SetDirection(0.f, 0.f, -1.f);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user