summaryrefslogtreecommitdiffstats
path: root/player/lua/stats.lua
diff options
context:
space:
mode:
Diffstat (limited to 'player/lua/stats.lua')
-rw-r--r--player/lua/stats.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index 8a88da8831..579cb67dfd 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -185,7 +185,8 @@ local function append_perfdata(s)
local last_s = vo_p["render-last"] + vo_p["present-last"] + vo_p["upload-last"]
local avg_s = vo_p["render-avg"] + vo_p["present-avg"] + vo_p["upload-avg"]
- local peak_s = vo_p["render-peak"] + vo_p["present-peak"] + vo_p["upload-peak"]
+ --local peak_s = vo_p["render-peak"] + vo_p["present-peak"] + vo_p["upload-peak"]
+ local peak_s = -math.huge
-- highlight i with a red border when t exceeds the time for one frame
-- or yellow when it exceeds a given threshold