Permalink
Browse files

Fix profiler build.

1 parent 8bcb5f0 commit 58af2b8eae8d0b9d069550394f9c8eb6819b19d1 @LunaMoo LunaMoo committed Jan 9, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 UI/ProfilerDraw.cpp
View
@@ -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;
}

0 comments on commit 58af2b8

Please sign in to comment.