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:
LaurentGom 2009-11-26 22:32:38 +00:00
parent d979ca254e
commit 49fbdb56df

View File

@ -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
{