Hi! i have one issue when i apply zoom and show sprites whit "SubRect" from image....
I use this to draw the sprite:
sf::Sprite SprTile;
SprTile.SetImage(*m_pMap->GetImage(pLayerTile->m_TexID));
SprTile.SetSubRect(sf::IntRect(TexX<<6, TexY<<6, (TexX<<6)+64, (TexY<<6)+64));
SprTile.Resize(32, 32);
SprTile.SetPosition(offsetX+pGroup->m_OffsetX+pLayerTile->m_OffsetX+(o<<5),offsetY+pGroup->m_OffsetY+pLayerTile->m_OffsetY+(u<<5));
m_pGUI->GetRenderWindow()->Draw(SprTile);
You can see the issue here:
What happens? thx!!
------------
P.S: Sry for my bad english :\