aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/nio
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/common/nio')
-rw-r--r--src/java/com/jogamp/common/nio/AbstractBuffer.java3
-rw-r--r--src/java/com/jogamp/common/nio/PointerBuffer.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/nio/AbstractBuffer.java b/src/java/com/jogamp/common/nio/AbstractBuffer.java
index 58bab65..1d99767 100644
--- a/src/java/com/jogamp/common/nio/AbstractBuffer.java
+++ b/src/java/com/jogamp/common/nio/AbstractBuffer.java
@@ -32,6 +32,7 @@
package com.jogamp.common.nio;
import com.jogamp.common.os.*;
+import com.jogamp.gluegen.runtime.NativeLibLoader;
import java.nio.Buffer;
import java.nio.ByteBuffer;
@@ -48,7 +49,7 @@ public abstract class AbstractBuffer<B extends AbstractBuffer> implements Native
protected int position;
static {
- NativeLibrary.ensureNativeLibLoaded();
+ NativeLibLoader.loadGlueGenRT();
}
/**
diff --git a/src/java/com/jogamp/common/nio/PointerBuffer.java b/src/java/com/jogamp/common/nio/PointerBuffer.java
index 089b8b1..27a0bc6 100644
--- a/src/java/com/jogamp/common/nio/PointerBuffer.java
+++ b/src/java/com/jogamp/common/nio/PointerBuffer.java
@@ -39,6 +39,7 @@ import java.nio.LongBuffer;
import com.jogamp.common.os.NativeLibrary;
import com.jogamp.common.os.Platform;
import com.jogamp.common.util.LongObjectHashMap;
+import com.jogamp.gluegen.runtime.NativeLibLoader;
/**
* Hardware independent container for native pointer arrays.
@@ -54,7 +55,7 @@ public class PointerBuffer extends AbstractBuffer<PointerBuffer> {
protected LongObjectHashMap dataMap = null;
static {
- NativeLibrary.ensureNativeLibLoaded();
+ NativeLibLoader.loadGlueGenRT();
}
/** no backup array, use for direct usage only */