Kirill Vainer 9 anni fa
parent
commit
47c26ac0e4

+ 0 - 2
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;

+ 0 - 9
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;