diff options
author | Kenneth Russel <[email protected]> | 2005-08-14 18:25:56 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-08-14 18:25:56 +0000 |
commit | b4afef9f93e722ab5f40a160eab5e55de86303d9 (patch) | |
tree | d792e611f8579afdf909b23025d2c3392a134d35 /src/net/java | |
parent | 175c8202bf6f648183b0f0d4b54166799dfecdf6 (diff) |
Fixed bug in FPSAnimator
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@345 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java')
-rwxr-xr-x | src/net/java/games/jogl/FPSAnimator.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/java/games/jogl/FPSAnimator.java b/src/net/java/games/jogl/FPSAnimator.java index cbe8b3571..131a35562 100755 --- a/src/net/java/games/jogl/FPSAnimator.java +++ b/src/net/java/games/jogl/FPSAnimator.java @@ -68,6 +68,7 @@ public class FPSAnimator extends Animator { if (timer != null) { throw new GLException("Already started"); } + timer = new Timer(); long delay = (long) (1000.0f / (float) fps); timer.schedule(new TimerTask() { public void run() { |