- 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
This commit is contained in:
Kent Mein
2002-11-12 15:26:05 +00:00
parent 278922d090
commit 716caf4d37

View 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