File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -959,11 +959,11 @@ int main(int argc, char *argv[])
959
959
if (ImGui::TreeNodeEx (" Advanced" , ImGuiTreeNodeFlags_NoTreePushOnOpen))
960
960
{
961
961
if (ImGui::InputInt (" Increase threshold" , &resIncreaseThreshold, 1 ))
962
- resIncreaseThreshold = std::clamp (resIncreaseThreshold, 0 , 100 );
962
+ resIncreaseThreshold = std::max (resIncreaseThreshold, 0 );
963
963
addTooltip (" Percentage of the target frametime at which to stop increasing resolution." );
964
964
965
965
if (ImGui::InputInt (" Decrease threshold" , &resDecreaseThreshold, 1 ))
966
- resDecreaseThreshold = std::clamp (resDecreaseThreshold, 0 , 100 );
966
+ resDecreaseThreshold = std::max (resDecreaseThreshold, 0 );
967
967
addTooltip (" Percentage of the target frametime at which to start decreasing resolution." );
968
968
969
969
ImGui::InputInt (" Increase minimum" , &resIncreaseMin, 1 );
You can’t perform that action at this time.
0 commit comments