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

Author Topic: SFML 2.0 equivalent of SFML 1 PreserveGLStates?  (Read 1828 times)

0 Members and 1 Guest are viewing this topic.

Predator106

  • Newbie
  • *
  • Posts: 43
    • View Profile
SFML 2.0 equivalent of SFML 1 PreserveGLStates?
« on: December 03, 2012, 02:14:59 am »
as the title says, i'm porting 1.x code to 2.x, and i ran into this amongst its opengl code and have no idea what to do with it.

eigenbom

  • Full Member
  • ***
  • Posts: 228
    • View Profile
Re: SFML 2.0 equivalent of SFML 1 PreserveGLStates?
« Reply #1 on: December 03, 2012, 04:09:07 am »
i think its RenderTarget::pushGLStates(), and popGLStates()

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: SFML 2.0 equivalent of SFML 1 PreserveGLStates?
« Reply #2 on: December 03, 2012, 10:36:06 pm »

 

anything