mercredi 14 septembre 2016

Building a game with SFML and texture refuses to draw

I'm using SFML 2.3 to build a game and I have an extremely odd issue. I have two different texture files, both .png, but one of them refuses to be drawn.

I don't get any error message either way. For some reason TextureA works and appears just fine but TextureB doesn't draw.

I made sure the code is correct, checked for caps, I have both in the same folder, and tried everything. I even tried entering TextureA in place of TextureB and TextureA was drawn just fine. I think the problem may be with the .png file itself but I can't figure out what it is.

Thanks in advance!

Aucun commentaire:

Enregistrer un commentaire