Graphics: Fix default atlas check

This commit is contained in:
SirLynix 2023-11-16 09:00:33 +01:00
parent b7aca4b22a
commit 592845e353
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,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");