Debugging
This commit is contained in:
parent
33506fc029
commit
641f37e8eb
|
@ -35,6 +35,8 @@ import org.lwjgl.LWJGLException;
|
||||||
import org.lwjgl.LWJGLUtil;
|
import org.lwjgl.LWJGLUtil;
|
||||||
import org.lwjgl.Sys;
|
import org.lwjgl.Sys;
|
||||||
|
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
* The AL class implements the actual creation code for linking to the native library
|
* 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());
|
throw new LWJGLException("Unknown platform: " + LWJGLUtil.getPlatform());
|
||||||
}
|
}
|
||||||
String[] oalPaths = LWJGLUtil.getLibraryPaths(libname, library_names, AL.class.getClassLoader());
|
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 ) {
|
for ( String oalPath : oalPaths ) {
|
||||||
try {
|
try {
|
||||||
nCreate(oalPath);
|
nCreate(oalPath);
|
||||||
|
|
Loading…
Reference in New Issue