summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/java/com/jogamp/openal/ALFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/com/jogamp/openal/ALFactory.java b/src/java/com/jogamp/openal/ALFactory.java
index 4c114c8..29174ba 100644
--- a/src/java/com/jogamp/openal/ALFactory.java
+++ b/src/java/com/jogamp/openal/ALFactory.java
@@ -33,6 +33,7 @@
package com.jogamp.openal;
+import com.jogamp.common.os.Platform;
import com.jogamp.openal.AL;
import com.jogamp.openal.ALC;
import jogamp.openal.*;
@@ -55,6 +56,7 @@ public class ALFactory {
private static synchronized void initialize() throws ALException {
try {
if (!initialized) {
+ Platform.initSingleton();
if(null == ALImpl.getALProcAddressTable()) {
throw new ALException("AL not initialized (ProcAddressTable null)");
}