When running in a debug build its fine, and when I run a release its missing tiles. From what I can tell, is that
Code: Select all
video::ITexture *m_pGfx;
Code: Select all
if(!m_pAnimNode)
{
GAME->GetDriver()->draw2DImage( m_pGfx,
core::position2d<s32>(m_iPosX,m_iPosY),
core::rect<s32>(0,0,m_pGfx->getSize().Width,m_pGfx->getSize().Height),
NULL,
video::SColor(255,255,255,255),
m_TileSpec.m_bChroma);
}
else
{
m_pAnimNode->Update();
}