mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-08 21:53:39 +02:00
Merge pull request #9212 from LunaMoo/frame_profiler_buildfix
Frame profiler buildfix.
This commit is contained in:
+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