From 49fbdb56df6d748b79c784df6058d3824424c18a Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Thu, 26 Nov 2009 22:32:38 +0000 Subject: [PATCH] Fixed endless recursion in audio initialization git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1291 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Audio/AudioDevice.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/SFML/Audio/AudioDevice.cpp b/src/SFML/Audio/AudioDevice.cpp index 4c16b200..f29d1410 100644 --- a/src/SFML/Audio/AudioDevice.cpp +++ b/src/SFML/Audio/AudioDevice.cpp @@ -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 {