SFML community forums

General => General discussions => Topic started by: Srejv on November 20, 2007, 11:08:28 pm

Title: OpenGL integration
Post by: Srejv on November 20, 2007, 11:08:28 pm
While checking the roadmap I noticed this entry:
GRAPHICS   Improved the integration of OpenGL functions into SFML rendering   100 %

Which made me really curious... what are the improvements? :)
Title: OpenGL integration
Post by: Laurent on November 21, 2007, 02:32:51 am
It consists of two things :
- No more need for BeginOpenGL / EndOpenGL
- User states are properly saved and restored by SFML

So now you can really mix SFML graphics and OpenGL without any extra work, and without messing up all the states ;)
Title: OpenGL integration
Post by: Srejv on November 22, 2007, 05:08:01 pm
Great. :D And how does the mixing work now?
Title: OpenGL integration
Post by: Laurent on November 23, 2007, 02:41:14 am
OpenGL states are just saved and resetted properly in SFML code.