SFML texture usage issue

后端 未结 1 1972
甜味超标
甜味超标 2021-01-23 11:14

I want to make a tilemap but when I run this code, the tiles becomes white, the texture has a problem. I know it that from the sf::Texture reference here says that the texture m

相关标签:
1条回答
  • 2021-01-23 11:33

    I have already solved it by myself. Every tile has one sf::Texture tex and every time I need to change it I just load it again from different file.

    0 讨论(0)
提交回复
热议问题