Added integer scaling option.

Useful for getting exact upscale in combination with nearest neighbor.
Ref issue #97.
This commit is contained in:
Muzychenko Andrey committed 2021-11-22 09:32:17 +03:00
1 parent 64c3f2031b
commit 37198f1b99
4 files changed
+25 -3

No files matched your search

+4
View File
@@ -466,6 +466,10 @@ void winmain::RenderUi()
{
options::toggle(Menu1::WindowLinearFilter);
}
if (ImGui::MenuItem("Integer Scaling", nullptr, Options.IntegerScaling))
{
options::toggle(Menu1::WindowIntegerScale);
}
ImGui::DragFloat("UI Scale", &ImIO->FontGlobalScale, 0.005f, 0.8f, 5,
"%.2f", ImGuiSliderFlags_AlwaysClamp);
ImGui::Separator();