SFML community forums
Help => Graphics => Topic started by: Xurix on November 17, 2010, 11:15:17 pm
-
Hi everyone. I made this map loader with SFML 1.6 It worked just as intended with no graphical glitches.
However I had a horrid FrameRate. I read on this forum about upgrading to SFML 2.0 fixed their framerate Problem.
So I downloaded cmake. And with help of the tutorial on the SFML 2 Tutorials I downloaded and compiled the latest revision of SFML 2
Edited my source where things had changed and got it up and running.
I now had 60-61 fps.
However in return I have this odd glitch. It seems to stretch the last pixels on the rightside outwards. I have no idea what's causing it and like I said didn't happen in 1.6.
Here's a pic.
http://i9.photobucket.com/albums/a66/Pkmn_knight/graphicglitch.png
In case it makes any difference. I'm using Visual Studio C++ 2010.
I'm using Revision 1667 of SFML 2.0. Just updated to 1671.
My graphics card is ATI Radeon HD 4350 (I get that crashing bug too) Latest drivers updated today.
Any ideas?
-
Make sure that you've converted all your IntRect(left, top, right, bottom) to IntRect(left, top, width, height).
-
Ah I see, That was it. I need to pay attention more when reading documentation.
Thanke Laurent.