fix issue #441
This commit is contained in:
parent
a8aabac1c9
commit
47c26ac0e4
@ -77,8 +77,6 @@ public abstract class JoglAbstractDisplay extends JoglContext implements GLEvent
|
|||||||
protected boolean wasAnimating = false;
|
protected boolean wasAnimating = false;
|
||||||
|
|
||||||
protected void initGLCanvas() {
|
protected void initGLCanvas() {
|
||||||
loadNatives();
|
|
||||||
|
|
||||||
device = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
|
device = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
|
||||||
|
|
||||||
GLCapabilities caps;
|
GLCapabilities caps;
|
||||||
|
@ -53,8 +53,6 @@ import com.jme3.renderer.opengl.GLTracer;
|
|||||||
import com.jme3.system.AppSettings;
|
import com.jme3.system.AppSettings;
|
||||||
import com.jme3.system.JmeContext;
|
import com.jme3.system.JmeContext;
|
||||||
import com.jme3.system.NanoTimer;
|
import com.jme3.system.NanoTimer;
|
||||||
import com.jme3.system.NativeLibraryLoader;
|
|
||||||
import com.jme3.system.NullRenderer;
|
|
||||||
import com.jme3.system.SystemListener;
|
import com.jme3.system.SystemListener;
|
||||||
import com.jme3.system.Timer;
|
import com.jme3.system.Timer;
|
||||||
|
|
||||||
@ -86,13 +84,6 @@ public abstract class JoglContext implements JmeContext {
|
|||||||
protected MouseInput mouseInput;
|
protected MouseInput mouseInput;
|
||||||
protected JoyInput joyInput;
|
protected JoyInput joyInput;
|
||||||
|
|
||||||
public void loadNatives() {
|
|
||||||
// Not sure if need to load OpenAL here ...
|
|
||||||
if (NativeLibraryLoader.isUsingNativeBullet()) {
|
|
||||||
NativeLibraryLoader.loadNativeLibrary("bulletjme", true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setSystemListener(SystemListener listener){
|
public void setSystemListener(SystemListener listener){
|
||||||
this.listener = listener;
|
this.listener = listener;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user