- on windows alcGetError() has no arguments. On other platforms it does.

This commit is contained in:
Frank van Beek 2003-01-04 16:46:49 +00:00
parent 24f546162e
commit 38e5b5899c

@ -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