fix character not show correctly

pull/2/head
ink-soul 2023-06-19 10:09:08 +08:00
parent dc58fbad2b
commit ff2a16aa3b
2 changed files with 4 additions and 2 deletions

View File

@ -1769,6 +1769,7 @@ PlumageRender::PlumageRender()
}
gui->endMenu();
}
if (gui->beginMenu(chineseUI.menuDebugFrameRate))
{
gui->text("%.1d fps (%.2f ms)", lastFPS, (1000.0f / lastFPS));
@ -1801,6 +1802,7 @@ PlumageRender::PlumageRender()
}
gui->endMenu();
}
gui->endMainMenuBar();
}

View File

@ -67,7 +67,7 @@ public:
const char * model = "模型";
const char* environmentMap = "环境贴图";
//const char* environment = "环境光照";
const char* environmentBackGround = "启用背景贴图";
const char* debugInput = "输入";
const char* debugPBREquation = "PBR计算参数";
const char* animation = "动画";
@ -79,7 +79,7 @@ public:
const char* menuEnvironment = "环境光照";
const char* menuEnvironmentConfig = "设置";
const char* menuAnimation = "动画";
const char* menuDebugFrameRate = "帧率";
const char* menuDebugFrameRate = "fps";
const char* menuDebugInput = "输入";
const char* menuAnimationNoAnimation = "当前模型没有动画!";