Missed one fix for Mac OS.

This commit is contained in:
curt
2004-04-26 14:55:27 +00:00
parent 6f29d234eb
commit 9d7fd79e76

View File

@@ -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.");
}