Fixes the NullPointerException in the demos when using JoglNewtDisplay
This commit is contained in:
parent
9f56a45d56
commit
5f77ff021b
@ -173,6 +173,8 @@ public class JoglNewtDisplay extends JoglNewtAbstractDisplay {
|
||||
if (waitFor){
|
||||
waitFor(false);
|
||||
}
|
||||
if (animator.isAnimating())
|
||||
animator.stop();
|
||||
}
|
||||
|
||||
public void restart() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user