SFML community forums

Help => Window => Topic started by: tobix10 on December 14, 2009, 07:51:00 pm

Title: Double buffering with OpenGL
Post by: tobix10 on December 14, 2009, 07:51:00 pm
Is SFML by default use double buffering with code using OpenGL? (I am displaying graphic in sf::Window).


What is PreserveOpenGLStates(true) doing ?
Title: Double buffering with OpenGL
Post by: Laurent on December 14, 2009, 07:52:40 pm
Quote
Is SFML by default use double buffering with code using OpenGL?

Yes.

Quote
What is PreserveOpenGLStates(true) doing ?

It prevents the SFML graphics classes from polluting your own OpenGL states.
Title: Double buffering with OpenGL
Post by: tobix10 on December 14, 2009, 09:42:43 pm
Thx. :D