I'm having some trouble with a program I was putting together for my wife, just some quick graphical functions, such as flipping, rotating, shading, etc. It seems that rotating is broken on osx using sfml 1.6 (or I'm doing something wrong)
When I call the code to rotate a sprite 90 degrees, it does nothing the first time, a second attempt splits the image into two, and subsequent pairs of calls produce another image. Rotating the other direction undoes the buplicates, but still, no rotation takes place.
Am I doing something wrong? I don't initialize any parts of the sprite, everything is left at the loaded defaults.
Also, when I call resize on the sprite, increasing the y value by 0.1 units, the picture breaks up into a scattering of shapes (mostly squares). I can't explain it any better than that, because that's all my Daughter says about it, and she's only 5, but my wife confirmed that's the behavior (whatever that means).
So, should I be initializing the the sprite values to something particular to stop this behavior, or is there a bug in the osx version of 1.6 sfml libs? And if so, how do I get around it (calling opengl directly?)
The picture I'm using is one from:
http://commons.wikimedia.org/wiki/File:Crude_Blue_Parrot.png Just displaying the parrot works just fine, flipping the x or y axis works fine, although trying to save the newly flipped/reversed image doesn't work either. I couldn't get anyone to tell me what the error message said, though I'll keep working on that one. I realize that part isn't terribly helpful, but I thought I'd toss it in just in case it's relevant. Only increasing the y value by 0.1 causes graphical misbehavior, and as I said, trying to rotate it does nothing until it's been rotated more than once. Any assistance would be appreciated, and please be specific, as code is all I have to work with, since the graphics aren't for my benefit, since I can't see them anyhow.