Fixed debug build

Former-commit-id: 5a7ebd258d4b453412d0d74e7be8590905b26a78
This commit is contained in:
Lynix 2015-01-16 13:25:51 +01:00
parent c2f3ba00f2
commit 96743375d9
1 changed files with 2 additions and 2 deletions

View File

@ -330,7 +330,7 @@ bool NzFont::OnAtlasCleared(const NzAbstractAtlas* atlas, void* userdata)
#ifdef NAZARA_DEBUG
// Est-ce qu'il s'agit bien de notre atlas ?
if (m_atlas != atlas)
if (m_atlas.get() != atlas)
{
NazaraInternalError("Notified by a non-listening-to resource");
return false; // On ne veut plus être notifié par cette ressource, évidemment
@ -351,7 +351,7 @@ void NzFont::OnAtlasReleased(const NzAbstractAtlas* atlas, void* userdata)
#ifdef NAZARA_DEBUG
// Est-ce qu'il s'agit bien de notre atlas ?
if (m_atlas != atlas)
if (m_atlas.get() != atlas)
{
NazaraInternalError("Notified by a non-listening-to resource");
return;