|
|
@ -65,7 +65,8 @@ public class JoglCanvas extends JoglAbstractDisplay implements JmeCanvasContext |
|
|
|
public void destroy(boolean waitFor){ |
|
|
|
public void destroy(boolean waitFor){ |
|
|
|
if (waitFor) |
|
|
|
if (waitFor) |
|
|
|
waitFor(false); |
|
|
|
waitFor(false); |
|
|
|
animator.stop(); |
|
|
|
if (animator.isAnimating()) |
|
|
|
|
|
|
|
animator.stop(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -122,7 +123,7 @@ public class JoglCanvas extends JoglAbstractDisplay implements JmeCanvasContext |
|
|
|
animator.stop(); |
|
|
|
animator.stop(); |
|
|
|
wasAnimating = false; |
|
|
|
wasAnimating = false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
listener.update(); |
|
|
|
listener.update(); |
|
|
|
renderer.onFrame(); |
|
|
|
renderer.onFrame(); |
|
|
|
|
|
|
|
|
|
|
@ -133,7 +134,7 @@ public class JoglCanvas extends JoglAbstractDisplay implements JmeCanvasContext |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void dispose(GLAutoDrawable arg0) { |
|
|
|
public void dispose(GLAutoDrawable arg0) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|