- ALenum alc_error = alcGetError(); // openal_2.14+
authorKent Mein <mein@cs.umn.edu>
Tue, 12 Nov 2002 15:26:05 +0000 (15:26 +0000)
committerKent Mein <mein@cs.umn.edu>
Tue, 12 Nov 2002 15:26:05 +0000 (15:26 +0000)
+               ALenum alc_error = alcGetError(NULL);   // openal_2.14+

Fix to get it to work with latest version of openal.

Kent
--
mein@cs.umn.edu

intern/SoundSystem/openal/SND_OpenALDevice.cpp

index a5cbf8d3300a7979be56a12f21aff642f3ceeef7..9364b6b1dbb69953a90e7f261d7643035a320a6e 100644 (file)
@@ -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