lwjgl3: re-enable native loading for native bullet
This commit is contained in:
parent
2f218f0cdb
commit
eada244b34
@ -116,6 +116,17 @@ public abstract class LwjglContext implements JmeContext {
|
||||
return samples;
|
||||
}
|
||||
|
||||
protected void loadNatives() {
|
||||
if (JmeSystem.isLowPermissions()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (NativeLibraryLoader.isUsingNativeBullet()) {
|
||||
NativeLibraryLoader.loadNativeLibrary("bulletjme", true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void initContextFirstTime() {
|
||||
final GLCapabilities capabilities = createCapabilities(settings.getRenderer().equals(AppSettings.LWJGL_OPENGL3));
|
||||
|
||||
|
@ -315,6 +315,8 @@ public abstract class LwjglWindow extends LwjglContext implements Runnable {
|
||||
});
|
||||
}
|
||||
|
||||
loadNatives();
|
||||
|
||||
timer = new NanoTimer();
|
||||
|
||||
// For canvas, this will create a pbuffer,
|
||||
|
Loading…
x
Reference in New Issue
Block a user