mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix profiler build.
This commit is contained in:
parent
8bcb5f01eb
commit
58af2b8eae
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue