mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
windows: Use throwFormattedException, not throwException in tryLoadOpenAL()
This commit is contained in:
parent
b19f24ec61
commit
5e830de033
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue