From 9d7fd79e7651e830ccb9e75326cf7ed969638fed Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 26 Apr 2004 14:55:27 +0000 Subject: [PATCH] Missed one fix for Mac OS. --- simgear/sound/openal_test1.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/simgear/sound/openal_test1.cxx b/simgear/sound/openal_test1.cxx index 90aac164..55127b2b 100644 --- a/simgear/sound/openal_test1.cxx +++ b/simgear/sound/openal_test1.cxx @@ -99,7 +99,11 @@ int main( int argc, char *argv[] ) { } // Load the sample file +#if defined (__APPLE__) + alutLoadWAVFile( (ALbyte *)"jet.wav", &format, &data, &size, &freq ); +#else alutLoadWAVFile( (ALbyte *)"jet.wav", &format, &data, &size, &freq, &loop ); +#endif if (alGetError() != AL_NO_ERROR) { SG_LOG( SG_GENERAL, SG_ALERT, "Failed to load wav file."); } -- 2.39.5