mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-24 19:00:54 +00:00
Fix profiler build.
This commit is contained in:
parent
8bcb5f01eb
commit
58af2b8eae
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user