Permalink
Browse files

Merge pull request #9212 from LunaMoo/frame_profiler_buildfix

Frame profiler buildfix.
2 parents 8bcb5f0 + 58af2b8 commit ef5148e126314dd4307bdcd6cd94dd3ef2ccd81e @hrydgard committed on GitHub Jan 10, 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 ef5148e

Please sign in to comment.