diff options
-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 |