Skip to content

Commit

Permalink
Added FPSLogger.setBound(bound)
Browse files Browse the repository at this point in the history
  • Loading branch information
TCreutzenberg committed Jul 30, 2024
1 parent eb5fd64 commit 705efe0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gdx/src/com/badlogic/gdx/graphics/FPSLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ public FPSLogger () {

/** @param bound only logs when they frames per second are less than the bound */
public FPSLogger (int bound) {
setBound(bound);
this.bound = bound;
startTime = TimeUtils.nanoTime();
}

public void setBound (int bound) {
Expand Down

0 comments on commit 705efe0

Please sign in to comment.