windows: Use throwFormattedException, not throwException in tryLoadOpenAL()
This commit is contained in:
parent
b19f24ec61
commit
5e830de033
|
@ -58,7 +58,7 @@ void tryLoadLibrary(JNIEnv *env, jstring path) {
|
|||
if (handleOAL != NULL) {
|
||||
printfDebugJava(env, "Found OpenAL at '%s'", path_str);
|
||||
} else {
|
||||
throwException(env, "Could not load OpenAL library (%d)", GetLastError());
|
||||
throwFormattedException(env, "Could not load OpenAL library (%d)", GetLastError());
|
||||
}
|
||||
free(path_str);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue