mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix a bug with tilemap positioning in runtime
This commit is contained in:
@@ -187,7 +187,7 @@ bool RuntimeTileMapObject::Draw( sf::RenderTarget& window )
|
||||
tileSet.GetTexture().setSmooth(false);
|
||||
|
||||
//Draw the tilemap
|
||||
window.draw(vertexArray, sf::RenderStates(&tileSet.GetTexture()));
|
||||
window.draw(vertexArray, sf::RenderStates(sf::BlendAlpha, transform, &tileSet.GetTexture(), NULL));
|
||||
|
||||
tileSet.GetTexture().setSmooth(wasSmooth);
|
||||
|
||||
|
Reference in New Issue
Block a user