diff options
-rw-r--r-- | src/java/com/jogamp/openal/ALContextKey.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/com/jogamp/openal/ALContextKey.java b/src/java/com/jogamp/openal/ALContextKey.java index 9f3d4bf..2e85a05 100644 --- a/src/java/com/jogamp/openal/ALContextKey.java +++ b/src/java/com/jogamp/openal/ALContextKey.java @@ -72,8 +72,7 @@ public class ALContextKey { return false; } final ALContextKey o2 = (ALContextKey)o; - final long o2_ptr = null != o2.alCtx ? o2.alCtx.getDirectBufferAddress() : 0; - return nativeAddress == o2_ptr; + return nativeAddress == o2.nativeAddress; } @Override public int hashCode() { |