mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Fix profiler build.
This commit is contained in:
1 parent
8bcb5f01eb
commit
58af2b8eae
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user