SFML community forums

Help => Graphics => Topic started by: Sivak on April 15, 2010, 09:17:39 pm

Title: Screen tearing with my own time controller - double buffer
Post by: Sivak on April 15, 2010, 09:17:39 pm
Hey there.

I've implemented my own time control system that is working pretty well, but naturally the FPS and vsync are not equal and thus it produces a screen tear artifact.  This is ONLY in fullscreen mode.

Is there an easy way to address this?  I've been reading about double buffering, but have no idea how to actually go about it.

Help/thoughts appreciated, thanks.
Title: Screen tearing with my own time controller - double buffer
Post by: Nexus on April 15, 2010, 09:38:01 pm
Did you try sf::RenderWindow::UseVerticalSync()?
Title: Screen tearing with my own time controller - double buffer
Post by: Sivak on April 23, 2010, 04:21:32 am
EDIT:  Disregard this post.  Thanks.