diff options
author | Sven Gothel <[email protected]> | 2012-01-04 20:21:17 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-01-04 20:21:17 +0100 |
commit | c18c52b8c20aa03a08940bef81b620d48c4117e2 (patch) | |
tree | a63d4c4d98f6bed79efcabd5f8d969bb1de35c6a /src | |
parent | 4b84f0db9332a945f8e1e357a38f07146b3371e7 (diff) |
Fix bug 550, JOAL lacks Platform.initSingleton() call - Using TempJarCache reveals unresolved initialization dependency leading to NPE in NativeLibrary
Diffstat (limited to 'src')
-rw-r--r-- | src/java/com/jogamp/openal/ALFactory.java | 2 |
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)"); } |