Fixes the NullPointerException in the demos when using JoglNewtDisplay

This commit is contained in:
Julien Gouesse 2015-09-22 23:50:28 +02:00
parent 9f56a45d56
commit 5f77ff021b

View File

@ -173,6 +173,8 @@ public class JoglNewtDisplay extends JoglNewtAbstractDisplay {
if (waitFor){
waitFor(false);
}
if (animator.isAnimating())
animator.stop();
}
public void restart() {