Fixed debug build
Former-commit-id: 5a7ebd258d4b453412d0d74e7be8590905b26a78
This commit is contained in:
parent
c2f3ba00f2
commit
96743375d9
|
|
@ -330,7 +330,7 @@ bool NzFont::OnAtlasCleared(const NzAbstractAtlas* atlas, void* userdata)
|
||||||
|
|
||||||
#ifdef NAZARA_DEBUG
|
#ifdef NAZARA_DEBUG
|
||||||
// Est-ce qu'il s'agit bien de notre atlas ?
|
// 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");
|
NazaraInternalError("Notified by a non-listening-to resource");
|
||||||
return false; // On ne veut plus être notifié par cette ressource, évidemment
|
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
|
#ifdef NAZARA_DEBUG
|
||||||
// Est-ce qu'il s'agit bien de notre atlas ?
|
// 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");
|
NazaraInternalError("Notified by a non-listening-to resource");
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue