diff options
author | Frank van Beek <frank@iae.nl> | 2003-01-04 19:46:49 +0300 |
---|---|---|
committer | Frank van Beek <frank@iae.nl> | 2003-01-04 19:46:49 +0300 |
commit | 38e5b5899cb46ef260308ae990cb960b6a978708 (patch) | |
tree | da78acd3158a4d2d06f6f203f3fe496db74fa0f0 /intern | |
parent | 24f546162efb499025538518f5b0f003bd1d6d99 (diff) |
- on windows alcGetError() has no arguments. On other platforms it does.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/SoundSystem/openal/SND_OpenALDevice.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp index 3c55b1e77ca..e8dd591f6c6 100644 --- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp +++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp @@ -261,6 +261,9 @@ SND_OpenALDevice::SND_OpenALDevice() { #ifdef OUDE_OPENAL ALenum alc_error = ALC_NO_ERROR; // openal_2.12 +#elif _WIN32 + // alcGetError has no arguments on windows + ALenum alc_error = alcGetError(); // openal_2.14+ #else ALenum alc_error = alcGetError(NULL); // openal_2.14+ #endif |