From 90bfd948586881b20704f33acbb74514d27faefe Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 25 Apr 2011 13:44:16 +0200 Subject: FPSCounter def to 5*60 frames (each 5s at 60Hz) ; Test: each 1s --- src/jogl/classes/javax/media/opengl/FPSCounter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes') diff --git a/src/jogl/classes/javax/media/opengl/FPSCounter.java b/src/jogl/classes/javax/media/opengl/FPSCounter.java index aa42ac9e0..9c07b58e4 100644 --- a/src/jogl/classes/javax/media/opengl/FPSCounter.java +++ b/src/jogl/classes/javax/media/opengl/FPSCounter.java @@ -35,7 +35,7 @@ import java.io.PrintStream; * Use {@link #setUpdateFPSFrames(int, PrintStream)} to enable and disable the FPSCounter feature. */ public interface FPSCounter { - public static final int DEFAULT_FRAMES_PER_INTERVAL = 60; + public static final int DEFAULT_FRAMES_PER_INTERVAL = 5*60; /** * @param frames Update interval in frames.
At every rendered frames interval the currentTime and fps values are updated. -- cgit v1.2.3