Minor fixes

This commit is contained in:
SirLynix
2023-11-15 08:07:06 +01:00
parent 5e643bca7b
commit ddf0dc88bc
2 changed files with 7 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ namespace Nz
const std::shared_ptr<Font>& defaultFont = Font::GetDefault();
defaultFont->SetAtlas(nullptr);
if (!defaultAtlas.use_count() > 1)
if (defaultAtlas.use_count() >= 1)
{
// Still not the only one to own it ? Then crap.
NazaraWarning("Default font atlas uses hardware storage and is still used");