clang warnings fix

This commit is contained in:
MihailRis
2024-02-02 23:19:06 +03:00
parent 0e2fc14dc8
commit 537a0ca358
7 changed files with 21 additions and 28 deletions
+2 -2
View File
@@ -68,7 +68,7 @@ std::shared_ptr<UINode> HudRenderer::createDebugPanel(Engine* engine) {
});
panel->setCoord(vec2(10, 10));
panel->add(create_label([this](){ return L"fps: "+this->fpsString;}));
panel->add(create_label([this](){
panel->add(create_label([](){
return L"meshes: " + std::to_wstring(Mesh::meshesCount);
}));
panel->add(create_label([=](){
@@ -336,7 +336,7 @@ void HudRenderer::update(bool visible) {
closeInventory();
} else {
pause = true;
menu->set("pause");
menu->setPage("pause");
}
}
if (visible && Events::jactive(BIND_HUD_INVENTORY)) {