From 47c26ac0e4a7ec25f8a7c0931762a812ea4ebd80 Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Sun, 3 Apr 2016 16:40:45 -0400 Subject: [PATCH] fix issue #441 --- .../java/com/jme3/system/jogl/JoglAbstractDisplay.java | 2 -- .../src/main/java/com/jme3/system/jogl/JoglContext.java | 9 --------- 2 files changed, 11 deletions(-) diff --git a/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglAbstractDisplay.java b/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglAbstractDisplay.java index 3b468f1aa..c4f38f970 100644 --- a/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglAbstractDisplay.java +++ b/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglAbstractDisplay.java @@ -77,8 +77,6 @@ public abstract class JoglAbstractDisplay extends JoglContext implements GLEvent protected boolean wasAnimating = false; protected void initGLCanvas() { - loadNatives(); - device = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice(); GLCapabilities caps; diff --git a/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java b/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java index 3ed543bc9..24a647ef6 100644 --- a/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java +++ b/jme3-jogl/src/main/java/com/jme3/system/jogl/JoglContext.java @@ -53,8 +53,6 @@ import com.jme3.renderer.opengl.GLTracer; import com.jme3.system.AppSettings; import com.jme3.system.JmeContext; import com.jme3.system.NanoTimer; -import com.jme3.system.NativeLibraryLoader; -import com.jme3.system.NullRenderer; import com.jme3.system.SystemListener; import com.jme3.system.Timer; @@ -86,13 +84,6 @@ public abstract class JoglContext implements JmeContext { protected MouseInput mouseInput; protected JoyInput joyInput; - public void loadNatives() { - // Not sure if need to load OpenAL here ... - if (NativeLibraryLoader.isUsingNativeBullet()) { - NativeLibraryLoader.loadNativeLibrary("bulletjme", true); - } - } - @Override public void setSystemListener(SystemListener listener){ this.listener = listener;