From 96743375d9d4ff6181cafefd41ea449ee4fdff45 Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 16 Jan 2015 13:25:51 +0100 Subject: [PATCH] Fixed debug build Former-commit-id: 5a7ebd258d4b453412d0d74e7be8590905b26a78 --- src/Nazara/Utility/Font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Nazara/Utility/Font.cpp b/src/Nazara/Utility/Font.cpp index f73eceee9..495e0dc7f 100644 --- a/src/Nazara/Utility/Font.cpp +++ b/src/Nazara/Utility/Font.cpp @@ -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;