summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/openal/ALFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/openal/ALFactory.java')
-rw-r--r--src/java/com/jogamp/openal/ALFactory.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/com/jogamp/openal/ALFactory.java b/src/java/com/jogamp/openal/ALFactory.java
index f58fe4b..64da325 100644
--- a/src/java/com/jogamp/openal/ALFactory.java
+++ b/src/java/com/jogamp/openal/ALFactory.java
@@ -53,7 +53,9 @@ public class ALFactory {
private static synchronized void initialize() throws ALException {
try {
if (!initialized) {
- NativeLibLoader.load();
+ if(null == ALImpl.getALProcAddressTable()) {
+ throw new RuntimeException("AL not initialized (ProcAddressTable null)");
+ }
initialized = true;
}
} catch (UnsatisfiedLinkError e) {