aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/gui/DebugWindow.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-07-24 20:24:58 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-07-24 20:24:58 +0100
commite4e561bd94df819f4ce9487f28b1d18a8d178810 (patch)
tree4ff6bb0d6e9afbb6cb06eeceb2dc3d538bbc5adc /src/main/kotlin/gui/DebugWindow.kt
parent6acdde8f7093c0fb2e95d8dbc14dfab096b0a027 (diff)
downloadKGB-e4e561bd94df819f4ce9487f28b1d18a8d178810.tar.xz
KGB-e4e561bd94df819f4ce9487f28b1d18a8d178810.zip
Add ram dump debug window
Diffstat (limited to 'src/main/kotlin/gui/DebugWindow.kt')
-rw-r--r--src/main/kotlin/gui/DebugWindow.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/gui/DebugWindow.kt b/src/main/kotlin/gui/DebugWindow.kt
index d80d2b3..f336ef6 100644
--- a/src/main/kotlin/gui/DebugWindow.kt
+++ b/src/main/kotlin/gui/DebugWindow.kt
@@ -6,7 +6,7 @@ import imgui.ImGui
fun paintDebugWindow() {
with(ImGui) {
- setNextWindowPos(Vec2(20, 50), Cond.FirstUseEver)
+ setNextWindowPos(Vec2(15, 10), Cond.FirstUseEver)
begin("Debug info")
text("%.1f FPS (%.2f ms/frame)", io.framerate, 1_000f / io.framerate)
end()