Graphics/Sprite: Fix debug build
Former-commit-id: 751eea18f8ca4c68243dbc363eb4b7de2618784d
This commit is contained in:
parent
ec21416231
commit
4b5c08e739
|
|
@ -121,7 +121,7 @@ inline void NzSprite::SetTextureCoords(const NzRectf& coords)
|
|||
|
||||
inline void NzSprite::SetTextureRect(const NzRectui& rect)
|
||||
{
|
||||
NazaraAssert(material, "Sprite has no material");
|
||||
NazaraAssert(m_material, "Sprite has no material");
|
||||
NazaraAssert(m_material->HasDiffuseMap(), "Sprite material has no diffuse map");
|
||||
|
||||
NzTexture* diffuseMap = m_material->GetDiffuseMap();
|
||||
|
|
|
|||
Loading…
Reference in New Issue