From 91974a68000ffab22f6fea88004eb7f3c646441a Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Wed, 2 Mar 2016 13:45:50 -0500 Subject: [PATCH] lwjgl3: use lwjgl's native loader --- .../com/jme3/system/lwjgl/LwjglContext.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglContext.java b/jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglContext.java index a74b19cdb..20532df36 100644 --- a/jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglContext.java +++ b/jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglContext.java @@ -99,24 +99,6 @@ public abstract class LwjglContext implements JmeContext { return Integer.MAX_VALUE; } - protected void loadNatives() { - if (JmeSystem.isLowPermissions()) { - return; - } - - if ("LWJGL".equals(settings.getAudioRenderer())) { - NativeLibraryLoader.loadNativeLibrary("openal-lwjgl3", true); - } - - if (NativeLibraryLoader.isUsingNativeBullet()) { - NativeLibraryLoader.loadNativeLibrary("bulletjme", true); - } - - NativeLibraryLoader.loadNativeLibrary("glfw-lwjgl3", true); - NativeLibraryLoader.loadNativeLibrary("jemalloc-lwjgl3", true); - NativeLibraryLoader.loadNativeLibrary("lwjgl3", true); - } - protected int getNumSamplesToUse() { int samples = 0; if (settings.getSamples() > 1) {