summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/subconscious/graphics/widget/PerfView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/subconscious/graphics/widget/PerfView.java b/src/subconscious/graphics/widget/PerfView.java
index 94c68ab..d5de3cb 100644
--- a/src/subconscious/graphics/widget/PerfView.java
+++ b/src/subconscious/graphics/widget/PerfView.java
@@ -1,5 +1,7 @@
package subconscious.graphics.widget;
+import subconscious.graphics.Palette;
+
import java.awt.Graphics2D;
@@ -22,6 +24,7 @@ public class PerfView extends Widget implements Dynamic {
@Override
public void render(Graphics2D g) {
+ g.setColor(Palette.BLACK);
g.drawString("DeltaTime (us): ", 0, HEIGHT/2);
g.drawString(Long.toString(this.lastDeltaNanoTime/1000), 0, HEIGHT);
}