Fix profiler build.

This commit is contained in:
LunaMoo 2017-01-09 22:09:34 +01:00
parent 8bcb5f01eb
commit 58af2b8eae

View File

@ -87,7 +87,7 @@ void DrawProfile(UIContext &ui) {
// So they don't move horizontally, we always measure. // So they don't move horizontally, we always measure.
float w = 0.0f, h = 0.0f; 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) { if (w > legendWidth) {
legendWidth = w; legendWidth = w;
} }