sigh, forgot another alut* at the wrong place.
This commit is contained in:
parent
b3bc36b253
commit
ae58f89fbf
@ -500,7 +500,7 @@ bool SGSoundMgr::load(string &samplepath, void **dbuf, int *fmt,
|
||||
ALenum error = alGetError();
|
||||
if ( error != AL_NO_ERROR ) {
|
||||
string msg = "Failed to load wav file: ";
|
||||
msg.append(alutGetErrorString(error));
|
||||
msg.append(alGetErrorString(error));
|
||||
throw sg_io_exception(msg.c_str(), sg_location(samplepath));
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user