File diff r24978:42151fac26c3 → r24979:f3498e0538dc
src/framerate_gui.cpp
Show inline comments
 
@@ -399,7 +399,6 @@ struct FramerateWindow : Window {
 
		{
 
			const double threshold_good = target * 0.95;
 
			const double threshold_bad = target * 2 / 3;
 
			value = std::min(9999.99, value);
 
			this->value = (uint32)(value * 100);
 
			this->strid = (value > threshold_good) ? STR_FRAMERATE_FPS_GOOD : (value < threshold_bad) ? STR_FRAMERATE_FPS_BAD : STR_FRAMERATE_FPS_WARN;
 
		}
 
@@ -408,7 +407,6 @@ struct FramerateWindow : Window {
 
		{
 
			const double threshold_good = target / 3;
 
			const double threshold_bad = target;
 
			value = std::min(9999.99, value);
 
			this->value = (uint32)(value * 100);
 
			this->strid = (value < threshold_good) ? STR_FRAMERATE_MS_GOOD : (value > threshold_bad) ? STR_FRAMERATE_MS_BAD : STR_FRAMERATE_MS_WARN;
 
		}