SFML community forums
Help => Graphics => Topic started by: kaB00M on October 17, 2011, 06:40:22 am
-
Hi. I'm wondering if someone can make a tut for using opengl along with sf::sprites. I want to draw opengl polygons in top of sprite backgrounds. Is that even possible?
Thank you.
-
There's an example in the SFML SDK that does exactly what you want.
-
:oops: Oops... I'm sorry about that good Sir.
I got the thing to work, but now I have a new issue: my fps drops from 60~, to 15~ by just calling PreserveOpenGLStates(true). Even if I don't draw any polygons!!! Is that normal? I think I will just stick with 2d for now.
Thank you.
-
my fps drops from 60~, to 15~ by just calling PreserveOpenGLStates(true)
In Debug or Release mode?