Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2009-08-05 18:12:49 +0400
committerJoerg Mueller <nexyon@gmail.com>2009-08-05 18:12:49 +0400
commita73d3c0a747bf2aeb8dd08c278915ed415968d2a (patch)
treefbbb0447dc5dd71863599a2d63ebab29b89dcd6f
parent6cf9016dc6770ece3b50f6b52c55e5851289da66 (diff)
Update for new windows OpenAL libs.
-rw-r--r--intern/SoundSystem/openal/SND_OpenALDevice.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp
index 424a05246ac..480f4ff6d74 100644
--- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp
+++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp
@@ -372,9 +372,6 @@ SND_OpenALDevice::SND_OpenALDevice()
{
#ifdef __APPLE__
ALenum alc_error = ALC_NO_ERROR; // openal_2.12
-#elif defined(_WIN32)
- // alcGetError has no arguments on windows
- ALenum alc_error = alcGetError(); // openal_2.14+
#else
ALenum alc_error = alcGetError(NULL); // openal_2.14+
#endif
@@ -410,9 +407,6 @@ void SND_OpenALDevice::UseCD(void) const
void SND_OpenALDevice::MakeCurrent() const
{
-#ifdef WIN32
- alcMakeContextCurrent(m_context);
-#endif
}
@@ -614,11 +608,7 @@ void SND_OpenALDevice::InitListener()
// have the same settings)
float lispos[3] = {0,0,0};
float lisvel[3] = {0,0,0};
-#ifdef WIN32
- float lisori[6] = {0,1,0,0,0,1};
-#else
float lisori[6] = {0,0,1,0,-1,0};
-#endif
alListenerfv(AL_POSITION, lispos);
alListenerfv(AL_VELOCITY, lisvel);