Debugging

This commit is contained in:
Michael Pfaff 2022-11-19 14:08:48 -05:00
parent 33506fc029
commit 641f37e8eb
Signed by: michael
GPG Key ID: CF402C4A012AA9D4
1 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,8 @@ import org.lwjgl.LWJGLException;
import org.lwjgl.LWJGLUtil;
import org.lwjgl.Sys;
import java.util.Arrays;
/**
* <p>
* The AL class implements the actual creation code for linking to the native library
@ -135,7 +137,7 @@ public final class AL {
throw new LWJGLException("Unknown platform: " + LWJGLUtil.getPlatform());
}
String[] oalPaths = LWJGLUtil.getLibraryPaths(libname, library_names, AL.class.getClassLoader());
LWJGLUtil.log("Found " + oalPaths.length + " OpenAL paths");
LWJGLUtil.logger().log(() -> "Found " + oalPaths.length + " OpenAL paths: " + Arrays.toString(oalPaths));
for ( String oalPath : oalPaths ) {
try {
nCreate(oalPath);