From 58af2b8eae8d0b9d069550394f9c8eb6819b19d1 Mon Sep 17 00:00:00 2001 From: LunaMoo Date: Mon, 9 Jan 2017 22:09:34 +0100 Subject: [PATCH] Fix profiler build. --- UI/ProfilerDraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/ProfilerDraw.cpp b/UI/ProfilerDraw.cpp index 9b4855b72..85403cd58 100644 --- a/UI/ProfilerDraw.cpp +++ b/UI/ProfilerDraw.cpp @@ -87,7 +87,7 @@ void DrawProfile(UIContext &ui) { // So they don't move horizontally, we always measure. float w = 0.0f, h = 0.0f; - ui.MeasureText(ui.GetFontStyle(), name, &w, &h); + ui.MeasureText(ui.GetFontStyle(), 1.0f, 1.0f, name, &w, &h); if (w > legendWidth) { legendWidth = w; }