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:
authorKent Mein <mein@cs.umn.edu>2002-11-12 18:26:05 +0300
committerKent Mein <mein@cs.umn.edu>2002-11-12 18:26:05 +0300
commit716caf4d37f76f8352bcdc66b18b214dd631050d (patch)
tree462a4e57420ee2db4e49294198c9b5ae1b20cced /intern/SoundSystem
parent278922d0902c5c0ee417ae8cc299c6623d2d16fd (diff)
- ALenum alc_error = alcGetError(); // openal_2.14+
+ ALenum alc_error = alcGetError(NULL); // openal_2.14+ Fix to get it to work with latest version of openal. Kent -- mein@cs.umn.edu
Diffstat (limited to 'intern/SoundSystem')
-rw-r--r--intern/SoundSystem/openal/SND_OpenALDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp
index a5cbf8d3300..9364b6b1dbb 100644
--- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp
+++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp
@@ -258,7 +258,7 @@ SND_OpenALDevice::SND_OpenALDevice()
#ifdef OUDE_OPENAL
ALenum alc_error = ALC_NO_ERROR; // openal_2.12
#else
- ALenum alc_error = alcGetError(); // openal_2.14+
+ ALenum alc_error = alcGetError(NULL); // openal_2.14+
#endif
// let openal generate its sources