Added integer scaling option.
Useful for getting exact upscale in combination with nearest neighbor. Ref issue #97.
This commit is contained in:
1 parent
64c3f2031b
commit
37198f1b99
4 files changed
+25
-3
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user