aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 43ecb09..fdb9eee 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -15,7 +15,7 @@ void ShowEverything() {
gl.upload(reinterpret_cast<const char*>(sandbox._bitmap.data()), kWidth, kHeight);
constexpr float kScale = 4.0f;
constexpr ImVec2 kSize(kWidth * kScale, kHeight * kScale);
- ImGui::Image(gl.as_imgui(), kSize);
+ ImGui::Image(gl.as_imgui(), kSize, ImVec2(0, 1), ImVec2(1, 0));
ImGui::End();
ImGui::ShowDemoWindow();