Minor fixes

This commit is contained in:
SirLynix 2022-05-08 13:21:20 +02:00
parent 4794073b73
commit 41712a3f18
3 changed files with 9 additions and 8 deletions

View File

@ -78,7 +78,7 @@ namespace Nz
if (ext[0] == '.')
ext.erase(ext.begin());
File file(filePath.generic_u8string()); // Open only if needed
File file(filePath); // Open only if needed
bool found = false;
for (auto& loaderPtr : m_loaders)

View File

@ -216,6 +216,7 @@ namespace Nz
UpdateVisibility(registry);
UpdateInstances(registry);
if (!m_cameraEntities.empty())
m_pipeline->Render(renderFrame);
}