Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: OpenGL integration  (Read 6186 times)

0 Members and 1 Guest are viewing this topic.

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
OpenGL integration
« 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? :)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
OpenGL integration
« Reply #1 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 ;)
Laurent Gomila - SFML developer

Srejv

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
OpenGL integration
« Reply #2 on: November 22, 2007, 05:08:01 pm »
Great. :D And how does the mixing work now?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
OpenGL integration
« Reply #3 on: November 23, 2007, 02:41:14 am »
OpenGL states are just saved and resetted properly in SFML code.
Laurent Gomila - SFML developer