summaryrefslogtreecommitdiffstats
path: root/src/demos/j2d/TestTextRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/j2d/TestTextRenderer.java')
-rwxr-xr-xsrc/demos/j2d/TestTextRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/j2d/TestTextRenderer.java b/src/demos/j2d/TestTextRenderer.java
index 853009c..0356606 100755
--- a/src/demos/j2d/TestTextRenderer.java
+++ b/src/demos/j2d/TestTextRenderer.java
@@ -134,7 +134,7 @@ public class TestTextRenderer implements GLEventListener {
fpsText = "FPS: " + format.format(fps);
if (fpsWidth == 0) {
// Place it at a fixed offset wrt the lower right corner
- fpsWidth = (int) renderer.getBounds("FPS: 1000.00").getWidth();
+ fpsWidth = (int) renderer.getBounds("FPS: 10000.00").getWidth();
}
}