SFML community forums
Help => General => Topic started by: Henrik.Flink on February 17, 2008, 03:22:52 pm
-
I just change SFML version 1.1 to 1.2 in my project and the performance was aweful, i render 192 32*32 tiles and it's "hacking" alot, i know that the bottle neck is in the render of the tiles. I have not change anything in that code between the versions, what could it be?
-
if you are only using SFML Sprites try to do a
myRenderWindow.OptimizeForNonOpenGL(true);
in your initialization code...
that should give better performance :)
-
:? thanks, but it didn't to the trick. I really wonder what it could be, it must be something thats in SFML 1.2 that is not in 1.1
-
OptimizeForNonOpenGL(true) must improve the performances, if it didn't then you probably made a mistake. Can we have a look at your code ?