16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00

slightly better ui scaling

This commit is contained in:
milek7
2020-12-02 01:49:58 +01:00
parent ee5551a424
commit a182eec2a1
6 changed files with 18 additions and 17 deletions

View File

@@ -639,7 +639,7 @@ void opengl33_renderer::draw_debug_ui()
}
ImGui::End();
ImGui::SetNextWindowSize(ImVec2(400, 400));
ImGui::SetNextWindowSize(ImVec2S(400, 400));
if (ImGui::Begin("Pickbuffer") && m_pick_tex) {
ImGui::Image(reinterpret_cast<void *>(m_pick_tex->id), ImGui::GetContentRegionAvail(), ImVec2(0, 1.0), ImVec2(1.0, 0));
}